PDA

View Full Version : Why is this While loop not working?



kuau
06-30-2011, 04:48 AM
I figured it out! :)

regicidedelferoz
06-30-2011, 09:23 AM
toinks!

kuau
06-30-2011, 09:44 AM
Turned out it had nothing to do with the while loop. I forgot I had a sql command in the pageheader include and it used $result, so it overwrote my array that fed the while loop because that sql command used $result too. So I changed the variable name and it worked perfectly. Explaining the problem here made me realize what was wrong. So DD solved my problem after all. Thanks! :)