[PHP] Print ONCE ONLY?????

2002-01-12 Thread Dani
Hi Again! Why does this print only one record? 1. I have checked on the table on MYSQL and I have 2 records with this data. 2. Can I actually use the word and twice or three times for filtering the data that I need during query?? (example: $query = select * from main_table where item_type =

Re: [PHP] Print ONCE ONLY?????

2002-01-12 Thread Dennis Moore
move the following inside your while loop echo $row[item_id],BR; - Original Message - From: Dani [EMAIL PROTECTED] To: PHP LIST [EMAIL PROTECTED] Sent: Saturday, January 12, 2002 8:54 PM Subject: [PHP] Print ONCE ONLY? Hi Again! Why does this print only one record? 1

[PHP] Thanks! Re: [PHP] Print ONCE ONLY?????

2002-01-12 Thread Dani
Thanks very much! it works! Sincerely, Dani Thomas Holton wrote: You should be able to use and as many times as you want. You should also make sure that the query you are making below is returning the number of records you think it should be: $numrecords = mysql_num_rows($result); then