daveeboi Posted July 28, 2008 Share Posted July 28, 2008 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. Quote Link to comment Share on other sites More sharing options...
DarkWater Posted July 28, 2008 Share Posted July 28, 2008 This is Ajax or Javascript-related, not really PHP-related. Quote Link to comment Share on other sites More sharing options...
daveeboi Posted July 28, 2008 Author Share Posted July 28, 2008 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? Quote Link to comment Share on other sites More sharing options...
trq Posted July 28, 2008 Share Posted July 28, 2008 Oh, right! so it wouldn't be possible using PHP and MySQL. PHP and MySql can easily be used as part of an Ajax solution. Ajax isn't a technology in itself. Quote Link to comment Share on other sites More sharing options...
daveeboi Posted July 28, 2008 Author Share Posted July 28, 2008 What topic would it be classed in Ajax? Just to do search for it. Quote Link to comment Share on other sites More sharing options...
MasterACE14 Posted July 28, 2008 Share Posted July 28, 2008 possibly "AJAX tabs" or "AJAX dynamic content". I would imagine something along those lines. -EDIT, I searched for AJAX content. And I found this... AJAX Content Quote Link to comment Share on other sites More sharing options...
trq Posted July 28, 2008 Share Posted July 28, 2008 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.