On 12/22/2011 8:22 AM, Christopher Lee wrote: > On Dec 21, 2011, at 2:14 AM, Tedd Sperling wrote: > >> I don't see a problem here. >> >> 1. Figure out how to create a HTML form (Investigate HTML tables). >> 2. Then write a PHP that will scrub the data and submit it to MySQL. >> >> The length and layout of the forms are of no significance. >> >> This is basic html/php -- try creating something and submit your work for >> our >> review. If you want us to write the code for you, please look elsewhere. > > Tedd, > > I appreciate your reply to my post. In no way do I expect anyone to code for > me. > If that were the case I would hire someone. I have posted to this list > numerous > times and, if I am not mistaken, the list is designed to ask for suggestions, > which I did. Being rude does not help anyone.
He wasn't being rude. He was informing you of what to expect. Honestly, with how your two emails read, it seemed as though you were asking for examples of how to write the basic structure of the HTML and processing script. We like to see someone submit code that attempts to complete the task that they are looking to accomplish when they are asking for help. > > I understand how to program radio buttons in a form that record 'instances' > of a > response. If you understand how to program radio buttons, then you should know how to include an <input type="text" .. /> field and <textarea ...></textarea> in your code as well. > I just was not sure how to set-up a similar matrix to allow the user > to enter a numerical value. matrix = table ?? wrap the table in a form and add the radio and text fields as needed. throwing in a needed textarea here and there would be helpful as well. > > I will follow your suggestion and submit my work. > > Best, > > Christopher > > -----Original Message----- > From: Tedd Sperling [mailto:tedd.sperl...@gmail.com] > Sent: Wednesday, December 21, 2011 12:05 PM > To: PHP-General List > Cc: Christopher Lee > Subject: Re: [PHP] Online Form Creation > > On Dec 21, 2011, at 2:14 AM, Christopher Lee wrote: > >> Hello All, >> >> I have two forms (see attached) that I would like to recreate and enable the >> user to complete the form online. The data would be collected in a MySQL DB. >> >> http://ucensys.com/activities.pdf >> >> http://ucensys.com/guidelines.pdf >> >> You will see that the forms are in a matrix format. I am having trouble >> figuring out the best way to create the form and ensure the data is collected >> properly in the DB. Any suggestions would be greatly appreciated. >> >> Best, >> >> Christopher > > I don't see a problem here. > > 1. Figure out how to create a HTML form (Investigate HTML tables). > 2. Then write a PHP that will scrub the data and submit it to MySQL. > > The length and layout of the forms are of no significance. > > This is basic html/php -- try creating something and submit your work for our > review. If you want us to write the code for you, please look elsewhere. > > Cheers, > > tedd > > _____________________ > t...@sperling.com > http://sperling.com -- Jim Lucas http://www.cmsws.com/ http://www.cmsws.com/examples/ http://www.bendsource.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php