Re: Weird result from query...?
| From: | Erwin Kerk | Date: | Fri, 27 Feb 2004 01:23:10 +0000 |
| Subject: | Re: Weird result from query...? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178978@lists.php.net to get a copy of this message | ||
Ryan A wrote:
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