Details - Web 2.0 & AJAX :: AJAX, PHP & MySQL

This thread was displayed: 1,046 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
Dorothy Ryan
06-14-2006 12:19:56 GMT +2

Hi,

I am developing a cms website using php/mysql. The content management section is complete and allows multiple levels of pages which means that the client will be able to add sub pages to any page as well as add any number of top level pages.

I would like to use AJAX to display the content on the website in a similar way to this page on InterAKT's AJAX toolbox demo here where the content is preloaded and there is no page refresh on clicking the sublinks.  

Is it possible to have a page like this display content from a database in the same way that a regular php site displays the page based on the url parameter?  I know very little about AJAX but from reading about it I can't see how the content is 'pulled' from the database without being pre-defined in a recordset on the page being used in the display. 

Can anyone help me with this?

 

 

Back | Reply | Quote | Top
Andrei DRAGOMIR[InterAKT]Adobe Systems Romania staff
06-15-2006 13:52:52 GMT +2

Hello Dorothy, 

In fact, the while AJAX thing means that the content is not actually preloaded, but requested from the server through JavaScript. 

I don't know exactly what you are trying to accomplish, but the simplest thing that can be done is : define a page which has the recordset with the data you are trying to pull from the database. Then, in your "master" page, have a javascript function which makes an AJAX call to the first one and displays the content in a specified element on your page. 

Give me some more details, or tell me if this is what you are looking for. 

Regards,

Andrei
Reply | Quote | Top
Home > Support > Forums > Web 2.0 & AJAX > Details - Web 2.0 & AJAX
Adobe acquired InterAKT
InterAKT has been acquired by Adobe.
Learn more
 
© Adobe Systems Romania. All rights reserved.