Php printing to page?

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!

Moderator: General Moderators

Post Reply
m0v0nage
Forum Newbie
Posts: 2
Joined: Wed Jan 13, 2010 4:32 pm

Php printing to page?

Post 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:
divito
Forum Commoner
Posts: 89
Joined: Sun Feb 22, 2009 7:29 am

Re: Php printing to page?

Post by divito »

PHP + AJAX.
m0v0nage
Forum Newbie
Posts: 2
Joined: Wed Jan 13, 2010 4:32 pm

Re: Php printing to page?

Post by m0v0nage »

Ok. Thanks. Could you get he headed in the right direction?
User avatar
timWebUK
Forum Contributor
Posts: 239
Joined: Thu Oct 29, 2009 6:48 am
Location: UK

Re: Php printing to page?

Post by timWebUK »

AJAX and Databases

That'll get you started...
Post Reply