I have a short form for a simple PHP enabled website that I am having problems to get working correctly. My background is mainly C and C++ programing, and have only picked up HTML/PHP in the last week so bear with me. Anyway, what I want to do is simple, I have a table on a page that lists information, and then a single text box that allows input from the user to change the attributes of the data that is displayed in the table. What I want is for the data to be refreshed in the table when a user changes the data. Currently the data does get updated however one must refresh the page manually in order to see the changes. Here is the pseudo code:
<begin PHP>
<database login info>
while(info in database)
grab data from table.
while(array of data)
display data in table, one row at a time.
<end PHP>
<begin HTML>
display form, single text box.
<EOF>
If that pseudo is not enough, I can post more, I just did not want this post to get outta control. Please also when answering not answer with pseudo, I am new to the syntax.
Thanks in advance!
Bryan
<begin PHP>
<database login info>
while(info in database)
grab data from table.
while(array of data)
display data in table, one row at a time.
<end PHP>
<begin HTML>
display form, single text box.
<EOF>
If that pseudo is not enough, I can post more, I just did not want this post to get outta control. Please also when answering not answer with pseudo, I am new to the syntax.
Thanks in advance!
Bryan