|
Posted by ECRIA Public Mail Buffer on 03/21/06 17:41
> if ($delete)
> { header ("Location: $redirect?del=$code&table=$tab");
> exit;
> ...
> Well the funny thing is that this line worked well since I add the
> third buttom (the delete) after I added it even the post buttom doesn't
> work anymore.
Add the line below to the top of your script file, it may shed some light by
displaying a warning or notice which would not otherwise be displayed. Also,
after adding it, try commenting out the header() and exit() functions, and
just echo $redirect."?del=".$code."&table=".$tab to verify that they are
correct and your script is entering the delete condition.
error_reporting(E_ALL);
// ... your code here
ECRIA
http://www.ecria.com
Navigation:
[Reply to this message]
|