PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm kind of new to php and coding, but i am trying to create some thing like a forum. the problem for me is that in the page that shows all the topics (i'm calling it guides, cause it's supposed to be a site for guides), the topics won't show.
in the code that you posted $guide is undefined, therefore the rest of your code is failing
you should have php's error_reporting set to E_ALL and display_errors set to ON (temporarily) on your development environment so that any php detected errors will be reported and displayed to help point out problems like this one; adding this 2 lines at the beginning of your code ( after <php? ) will do that for this particular script:
thanks for the reply, but the reason the $guide is undefined is because i didn't post all my database information here... (i think)
the only thing not showing up when i run the script is the "middle" part of the table, because it's surrounded by the mysql_fetch_array. if i delete the mysql_fetch_array, and leave the part of the table as it is, then the whole thing shows.
therefore, i need a way of showing the data of my database in the table.
btw, what does the script you've written do better than mine? i can't seem to figure it out, but of cause i'm also new to all this