Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Delete Duldrums


Gilead - 3:26 pm on Nov 7, 2011 (gmt 0)


I must have been too tired to see it. Thanks!
Although, after making the change, it still getting hung up in an infinite loop. Click on yes and nothing happens; click on no and nothing happens.
Checked the variables via GET and all seemed well.
address?id=0juD467jBbcbss3&Yes=yes.

I'll post the rest of it.

if (isset($_GET['yes']))
{
$result("DELETE FROM $table_name WHERE id= '".$_GET[id]."'" ) or die(mysql_error());
echo'Member Deleted';
header( 'Location: backtoviewpage.php'); want it to wait a few seconds here, just enough to read the message.

}
else if (isset($_GET['no']))

{
header('Location: viewpage.php');
}
Thanks for the help!


Thread source:: http://www.webmasterworld.com/php/4383644.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com