+1 for Symfony. Kind regards, Keri Henare --------------------------------------------------- Chief Technical Officer Pixel Fusion
[e] [email protected] [w] pixelfusion.co.nz [m] (+64) 021 874 552 [p] (+64) 09 550 3084 Zend Certified Engineer - http://www.zend.com/en/yellow-pages#show-ClientCandidateID=ZEND013450 PLEASE NOTE: I check my email 3 times per day and will respond at these intervals. For anything urgent please ring me. --------------------------------------------------- On 10/09/2010, at 9:14 AM, Sid Bachtiar wrote: > Use a form library or framework. Like PEAR Html QuickForm if you want > to use plain PHP for the most of your project. > > Or better yet, use framework like Symfony. > > On Fri, Sep 10, 2010 at 9:10 AM, Brendan Brink > <[email protected]> wrote: >> Hi there, >> >> I am wanting to accomplish the following and wonder if possible and if >> so, how to do it :) >> >> <textarea name="preferred_work" cols="45" rows="5" class="inputclass" >> id="preferred_work"><?php echo $emp['preferred_work'];?></textarea> >> >> This works fine the above, but want to make it more dynamic, and >> instead of hardcoding the field name from the $emp row, to capture the >> name of the form field, using Java i guess, something like >> >> 'this.name' >> >> Reason is, I am trying to create more dynamic forms, and speed up coding >> time. >> >> I realise that a better way would be to generate the entire form field >> dynamically, and use PHP to echo the name of the field when creating >> it, however the forms are already created and am wanting a quick way >> to popular the fields with existing data from the database. >> >> hope this all makes sense :) >> >> Cheers >> Brendan. >> >> -- >> NZ PHP Users Group: http://groups.google.com/group/nzphpug >> To post, send email to [email protected] >> To unsubscribe, send email to >> [email protected] > > > > -- > Blue Horn Ltd - System Development > http://bluehorn.co.nz > > -- > NZ PHP Users Group: http://groups.google.com/group/nzphpug > To post, send email to [email protected] > To unsubscribe, send email to > [email protected] -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
