Page 1 of 1

Php printing to page?

Posted: Wed Jan 13, 2010 4:35 pm
by m0v0nage
I have a page on which I am reading from a database using php. It needs to print out the information from the database. All the info is stored in a 2d array. I want to print out a row of data, and then that text will be replaced with the next row when a button is clicked. How do I do this? I don't want the next row to be printed out below it. I want it to take the place of the last row. Is this a job for HTML? Javascript? Php?



:banghead:

Re: Php printing to page?

Posted: Wed Jan 13, 2010 4:59 pm
by divito
PHP + AJAX.

Re: Php printing to page?

Posted: Wed Jan 13, 2010 5:05 pm
by m0v0nage
Ok. Thanks. Could you get he headed in the right direction?

Re: Php printing to page?

Posted: Thu Jan 14, 2010 3:59 am
by timWebUK
AJAX and Databases

That'll get you started...