Hello, on 10/18/2006 01:56 PM Ross said the following: > Looked on google and not found a satisfactory answer. Doies anyone have a > funtion to do this? Take a look at this forms generation class. It comes with a plug-in for submitting forms via AJAX, thus without page reloading. On the server side you can get a message and reply to the message to script the actions that will be executed on the browser side as response. That was used for instance by this search page that uses AJAX postback for pagination of results and also for auto completing text in the search input. http://www.phpclasses.org/search.html?words=mysql+xml&go_search=1 The forms class with all plug-ins is available here. Take a look in particular at the test_ajax_form.php script for a post back example. http://www.phpclasses.org/formsgeneration -- Regards, Manuel Lemos Metastorage - Data object relational mapping layer generator http://www.metastorage.net/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php