Jump to content

[SOLVED] Changing part of a page when button clicked....


daveeboi

Recommended Posts

I was wondering if it was possible to have a web page that would have buttons etc and when each button/link was clicked then only the main content area would change accordingly.  Initially I have thought that it would be possible to achieve this by storing all content text in MySQL tables and when each button/link was pressed take the relevent content from the tables.

 

Am I thinking along the right lines?

 

Any advice would be great.

Oh, right! so it wouldn't be possible using PHP and MySQL.  Thanks, think you just saved me a few hours developing something that would just produce headaches.

 

Do you know what it would be called so I could possibly search for a tutorial to see how it's done please?

What topic would it be classed in Ajax? Just to do search for it.

 

I have no idea but here is a simple tutorial (written by the creator of php) showing how to make javascript make background requests to the server. From there it shouldn't be too hard to piece together at all.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.