which runs the sql in show_accounts.php: SELECT *,now()-0 from ".$tcname." where oorder='".$o."' and nname='".$n."' and total='$p'
Try this:
which runs the sql in show_accounts.php:
SELECT *,now()-0 from ".$tcname." where oorder='".$o."' and nname='".$n."' and total=$p
without the single quotes around $p
Erwin Kerk Web Developer
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php