Re: php/ajax..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

on 08/07/2006 04:11 PM bruce said the following:
> will php allow a user to enter field on a form, and compute aresult based on
> the field, without having to reload the entire form, or will i need ajax...
> 
> any good examples on how to accomplish this..

You may want to take a look at this forms generation class that comes
with plug-in to submit and process forms using AJAX. It lets you execute
arbitrary actions on the server side with PHP and you can tell it to
update as many parts of your page as you want. With this plug-in you can
do it all in PHP without writing a single line of Javascript.

Take a look in particular at the example test_ajax_form.php . It shows
how to submit a form with a simple text field and a file upload field,
and then process it on the server side and some progress report feedback.

http://www.phpclasses.org/formsgeneration

Also take a look at the test_linked_select.php and
test_auto_complete.php examples that take advantage of the class AJAX
plug-in features.

-- 

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux