Re: [PHP] MySQL and Array's REALLY simple question but I'm notGETTING it .. Ugh..

2002-09-06 Thread Brad Bonkoski
Well, when you run the command: $sql2_results = mysql_fetch_array($top_level); The first time, it automatically increments the result... so you fetch the data bu do nothing with it... so when you get to your loop, you are already at the second entry in your database.. So, remove the first

Re: [PHP] MySQL and Array's REALLY simple question but I'm notGETTING it .. Ugh..

2002-09-06 Thread Jed Verity
Hello, Steve, When you call mysql_fetch_array the first time, you are accessing the data from the first row of your results and then moving the pointer to the next row. So, when you call mysql_fetch_array the second time, it is already starting with the second row of your results. Try something