That makes sense....
However.. I'm a little confused by your use of an I can't echo inside of an echo..
<td>$keyword_name</td>\n
<td><input name='checkbox[]' type='checkbox' value='"$row[i]['listing_i
</tr>\n";
Gives me an error...
Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';'
Main Topics
Browse All Topics





by: i_m_aamirPosted on 2007-01-27 at 11:44:17ID: 18411482
I think you 'll have to make array of checkboxes e.g. >">
,$dbpass); ete from inbox where id = '$checkboxid'"); ";
<input name="checkbox[]" type="checkbox" value="<? echo $inboxmail[$i]['mailid'];?
and then you 'll take the values where you want to delete them and delete with query e.g.
if($_POST['checkbox'] != '')
{
$i = 0;
while($checkbox[$i])
{
$checkboxid = $checkbox[$i];
$dblink = new db($server,$dbname,$dbuser
$dblink->deleteFromDB("del
echo "<meta http-equiv='refresh' content='0;URL=inbox.php'>
$i++;
}
}
This is just to give an idea. BOL =)