Re: [PHP] NEWBIE: Can't Get My Loop Going. . .

2005-03-29 Thread Colin Ross
i was thinkin in more general term too, what about: $data =& readfile($file); /// etc, etc, etc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] NEWBIE: Can't Get My Loop Going. . .

2005-03-29 Thread Jackson Linux
As usual, Jochem, thanks for all those useful tips. They are much appreciated. Jack On 29 Mar 2005, at 05:15, Jochem Maas wrote: Jackson Linux wrote: Hello all, I am a newbie trying to build a set of links to content in a db. I am connecting with the db and seeing the proper number of rows. if I

Re: [PHP] NEWBIE: Can't Get My Loop Going. . .

2005-03-29 Thread Jochem Maas
Jackson Linux wrote: Hello all, I am a newbie trying to build a set of links to content in a db. I am connecting with the db and seeing the proper number of rows. if I echo out the values of $id and $sidebar I see that they take on the id# and text of the last entry in the database. I'm trying t

Re: [PHP] NEWBIE: Can't Get My Loop Going. . .

2005-03-28 Thread Christian Heinrich
Hello Jack, you simply forgot an echo. Also, have a look at print_r, which is very very useful for debugging. Greetings from Germany, Christian Jackson Linux schrieb: Hello all, I am a newbie trying to build a set of links to content in a db. I am connecting with the db and seeing the proper numb

Re: [PHP] NEWBIE: Can't Get My Loop Going. . .

2005-03-28 Thread Jackson Linux
Sorry folks. I have been told by a more knowledgeable friend that the problem was I forgot to ECHO out the join. It works now. Thanks anyway!! Jack On 28 Mar 2005, at 15:57, Jackson Linux wrote: Hello all, I am a newbie trying to build a set of links to content in a db. I am connecting with the

[PHP] NEWBIE: Can't Get My Loop Going. . .

2005-03-28 Thread Jackson Linux
Hello all, I am a newbie trying to build a set of links to content in a db. I am connecting with the db and seeing the proper number of rows. if I echo out the values of $id and $sidebar I see that they take on the id# and text of the last entry in the database. I'm trying to make the script ge