Dear all, $result=mysql_query("Select * from table"); $row=mysql_fetch_object($result); $field=$row->field; Here mysql_fetch_object is more powerfull than other functions like mysql_fetch_array(); Why there are so many functions to fetch records Please any one clarify in details. Regards uthaya __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ 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/