Grabbing IDs from Database
View Single Post
06-19-2009, 02:52 AM
Join Date: Sep 2007
First off you are not doing this correctly, you should never leave this sort of processing to the script. Make your query
Just be sure to change
to prevent SQL injection.
If it returns a row it exists, if there are no rows it does not.
I would strongly suggest putting anything as complicated as a shopping cart aside to learn SQL.
View Public Profile
Send a private message to Village Idiot
Find More Posts by Village Idiot