Having a problem with a for loop...and need help
Posted: Sat Mar 28, 2009 9:56 pm
I am having a problem with a for loop just like the title says.
Want I want to do is query the database for instances of posts where the conditions are met. Then for each one set $postTitle and $postContent to the according table columns. If my words are a bit clumsy I hope my code can do better. Any help is appreciated.
p.s. dont worry about $referrer and $pageName those variables are solid. I just want the output to do what I want.
http://pastie.org/430222 - The code
The image of the table - http://www.newcustomers2you.com/table.jpg
Want I want to do is query the database for instances of posts where the conditions are met. Then for each one set $postTitle and $postContent to the according table columns. If my words are a bit clumsy I hope my code can do better. Any help is appreciated.
p.s. dont worry about $referrer and $pageName those variables are solid. I just want the output to do what I want.
http://pastie.org/430222 - The code
The image of the table - http://www.newcustomers2you.com/table.jpg