An addition to point 5 perhaps? [snip] One useful trick is to print the variable/sql query using print or echo command and check whether you get what you expected. [/snip] How about mentioning var_dump() and print_r() also? rgds Chris Ramsay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php