How to perform click action without leaving a 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
wolfdogg
Forum Newbie
Posts: 6
Joined: Tue Apr 27, 2010 2:33 am

How to perform click action without leaving a page

Post by wolfdogg »

OK.. just went through my first php tut and built a small blog. It was pretty cool.. learned some things.

Now here's my question. For this first tut, I had an index.php page, put a table with 2 columns in it and did a php include to bring a different php page in each side of the table. We'll call those 2 pages side1.php and side2.php.

My question: Can I click a hyperlink in side1.php, have it perform the action in side2.php (such as bring up the hyperlink post in this case), without leaving index.php?

Thanks!
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: How to perform click action without leaving a page

Post by yacahuma »

you can do that with a popup window or AJAX
Post Reply