bruce wrote:
hi..
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..
thanks
PHP is executed on the server, so you cannot campute something without
sending it back, reprocessing the form and put the result on the client
browser's. Some basic tasks can be done in the client with javascript,
but you have no much choices to accomplish what you want:
1)Ajax (change or reload a section or node of your document based on an
action)
2)Frames and Javascript (reload only a frame with javascript, for example)
There are many good examples out there of either ways.
Regards,
Mariano.
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.7/410 - Release Date: 05/08/2006
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php