[thelist] PHP, problems with mysql_fetch_array (); First time Poster

Anthony Baratta Anthony at Baratta.com
Fri Oct 26 11:57:36 CDT 2001

At 11:06 PM 10/25/2001, you wrote:
>First time poster (or whatever you call it) here.
>I realy cannot figure out why this page is not working!
>The test array at the top does, but when I try to get the information from
>the database, it don't work.

I don't remember how PHP deals with If..Then, but you can try this:

         if (mysql_num_rows($result) > 0)
                 echo "I love you!<br>";
                 echo "I hate you!<br>";
Anthony Baratta
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."

More information about the thelist mailing list