Re: dynamic forms

From: Date: Tue, 16 Dec 2008 19:00:26 +0000
Subject: Re: dynamic forms
Groups: php.general 
Request: Send a blank email to php-general+get-284672@lists.php.net to get a copy of this message
If you have their ID when you generate the HTML FORM, there is no need for anything as exotic as Ajax... //get their $ID //query the DB using $ID to get $whatever echo "<TEXTAREA>", htmlentities($whatever), "</TEXTAREA>"; If you don't know their ID until the interact with other form elements, then, yeah, go with Ajax... But it would be pretty odd authentication mechanism that a front-end form would "know" my ID correctly and safely with no server-side interaction!

« previous php.general (#284672) next »