two questions....deleting mysql values and adding array value through forms
ok first thing is on my main page news update id like to make it so i have a page that displays each news thing with a checkbox next to it so i can delete it. Also for the array addition id like to have a text box thing so it adds to this array.
I am new to PHP and have been trying to get this feature to work as well by using your code Keith. But everytime I try it I get the no items selected return. Any explanations of what I am doing wrong would be much appreciated:
print "<tr>\n";
foreach ($get_info as $field) {
print "\t<td><input type=\"checkbox\" name=\"remove[]\" value=\"" . $field['teachid'] . "\" /></td>\n";
print "\t<td> What goes here ?? we need some variable.. you can't put ' field'</td>\n";
...
?>
What goes here ?? we need some variable.. you can't put ' field'
you cannot put $field there... you need $field['some row name']
Last edited by Infinite_Hackers; 03-18-04 at 10:11 AM.