Code: Select all
$i = 0;
while($i<=$countofrows)
{
$checking0 = "remove_" . $i;
$checkforcheck = $$checking0;
echo "$checkforcheck<br>";
if($checkforcheck == "checked")
{
// Box has been checked, find Unique ID for deletion
$checking1 = "msg_" . $i;
$uniqueid = $$checking1;
echo "$uniqueid<br><br>";
//$query = "delete from Leads where organization = '$uniqueid'";
//$result = mysql_query($query);
}
$i++;
}Is there a way around this without editting the globals? I don't have access to them, it's not my server, it' a clients.