Hi there, I have coded the project using php 5.0.3, with MySQL 4.1. I am using require("Conn_to_Mysql.php"); $query = "Select * from tbl_BBY "; $result = mysql_query($query); while($row = mysql_fetch_array($result, MYSQL_ASSOC)) { } Its running in my office pc, and my home pc, but when i upload to the webserver, its giving error as such, anyone able to help me to solve this issue. Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource Thanks in advance. PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/