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!
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
Hi,
I am using php 4, an oracle 10g database, and a linux server.
I am trying to construct a loop to create a table. I am retrieving data from an oracle database. It has 3 fields (question, answer, and comments). I now want to display these three fields on a page. I assume that I can use a for loop to create the fields, but I am unclear on the syntax. Can I use html tags inside a php script or do I enclose the for statement in the <? ?> and then add html tags?
Can someone help me with the code below?
It just so happens that I was at Zend doing some reading the function below when I stumbled on to this thread. The function takes a dataset and builds a dynamic table.
feyd wrote:the table cells have a few boogers in them.. not to mention it'll print nothing in the cells.
Now what is the point of posting this message if you are not going to explain why?
In hopes that you can figure out why =] Most people like for you to try to learn instead of telling you the problems. But I think it's because you need an echo or print before your $result[$z]-> inside of the table cells.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.