On Wed, 2007-04-11 at 09:59 -0700, siavash1979@xxxxxxxxx wrote: > 1- your mysql query statement is better to have a WHERE part too. > 2- I would use mysql_fetch_row instead of mysql_fetch_assoc Ummm, why would you want to reduce clarity and maintainability by using mysql_fetch_row()? Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php