Chris,

Thanks a lot.. THIS WORKS!
Works brilliantly. All other methods were just
failing. Thanks man.

> // fetch row is faster than fetch_assoc, which is
> faster than fetch_array
> // fetch_result might even be a better choice here,
> though, with only one 
> item...
> if (!mysql_num_rows($result)) {
>       print 'no results';
> } else {
>       while (list($title) = mysql_fetch_row($result)) {
>               print $title; // don't quote variables if you only
> want to print them by 
> themselves
>       }
> }

Rahul S. Johari



__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to