Thread: PHP and MySQL
View Single Post
Old 04-08-2008, 10:45 AM   #2 (permalink)
awatson
Junior Member
 
Join Date: Mar 2008
Posts: 11
Default Re: PHP and MySQL

What error are you getting? Try adding:

Quote:
echo "<!-- $sql -->\n";

Before the "$result=..." and then view source on the page and copy the query. Then run the query on your database via phpmyadmin or command line and see what error you get.
__________________
awatson is offline   Reply With Quote
Sponsored Links