Simcha wrote:
You can try 'select `testcol` from `table`' and then check if you got a mysql_error().
If you do that, and the column exists, and there are 100,000 rows in there - you just selected 100,000 rows.
Add a limit 1 to the end to only get one row. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php