[PHP-DB] Re: SQL query error

2007-02-20 Thread Haydar Tuna
Hello, Do you check the how many rows return. You can display rows count with following PHP code. If rows count is zero, you can see the blank page. :) $num_rows = mysql_num_rows($result); echo ($num_rows); -- Haydar TUNA Republic Of Turkey - Ministry of National Education Education

[PHP-DB] Re: SQL query error

2006-12-16 Thread Geoff Lane
On Saturday, December 16, 2006, Jeffrey wrote; Have you tried... echo p $query /p; ...to unsure the variables have the values you expect them to have? --- Another thing to try (particularly with SELECT statements) is to cut and paste the echoed query from your browser to the DBMS prompt