Re: inserting info from a query string into sql
| From: | Jason Wong | Date: | Tue, 20 Jan 2004 22:16:53 +0000 |
| Subject: | Re: inserting info from a query string into sql | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175211@lists.php.net to get a copy of this message | ||
On Wednesday 21 January 2004 05:29, mayo wrote:
[snip]
> However I can't seem to insert the query string variables into the sql.
[snip]
> What am I missing here?
1) Assign your query to a string (eg $query), and echo() it so you know what
your query is.
2) Make good use of mysql_error().
Bonus tip: look up "variable scope" in the manual.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
DISCLAIMER:
Use of this advanced computing technology does not imply an endorsement
of Western industrial civilization.
*/