Using GET to build multiple sql queries
| From: | Jack Jackson | Date: | Thu, 02 Jun 2005 15:43:54 +0000 |
| Subject: | Using GET to build multiple sql queries | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-216240@lists.php.net to get a copy of this message | ||
I'd love some help with http://hashphp.org/pastebin?pid=3443 if anyone can...
Basically I want to make it so that, if the get in the url specifies no query or a query to a nonexistent row, send to vanilla index. If url specifies c= then set $c=c and use the number to build the mysql query; same for p= and s= - if they're valid build the query, if not kick em out.
Can anyone offer any help?
Thanks in advance!