[PHP] arrays with form data?
good evening gentlemen. I am attempting (with my oh so limited php writing abilities) to write a script that will take the second part of a form item's data and process it separately. To elaborate: form method=post action=$php_self input type=radio name=FORM_ITEM value=TextHere,5 input type=radio name=FORM_ITEM value=OtherText,10 /form When processing, I want the first part of the value (TextHere or OtherText) to be used for one thing and the second part (5 or 10) to be used to compute something else. How would I write a script to separate or pull only one of the parts of the value out? help greatly appreciated as i continue my learning process of php. -mark __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] arrays with form data?
list($mytext,$mynbr) = explode(,$FORM_ITEM); -Original Message- From: Police Trainee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 4:05 PM To: PHP Subject: [PHP] arrays with form data? good evening gentlemen. I am attempting (with my oh so limited php writing abilities) to write a script that will take the second part of a form item's data and process it separately. To elaborate: form method=post action=$php_self input type=radio name=FORM_ITEM value=TextHere,5 input type=radio name=FORM_ITEM value=OtherText,10 /form When processing, I want the first part of the value (TextHere or OtherText) to be used for one thing and the second part (5 or 10) to be used to compute something else. How would I write a script to separate or pull only one of the parts of the value out? help greatly appreciated as i continue my learning process of php. -mark __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] arrays with form data?
? List($text,$number)=explode(|,$FORM_ITEM); ? form method=post action=? echo $php_self; ? input type=radio name=FORM_ITEM value=TextHere|5 input type=radio name=FORM_ITEM value=OtherText|10 /form Op woensdag 13 februari 2002 23:04, schreef Police Trainee: good evening gentlemen. I am attempting (with my oh so limited php writing abilities) to write a script that will take the second part of a form item's data and process it separately. To elaborate: form method=post action=$php_self input type=radio name=FORM_ITEM value=TextHere,5 input type=radio name=FORM_ITEM value=OtherText,10 /form When processing, I want the first part of the value (TextHere or OtherText) to be used for one thing and the second part (5 or 10) to be used to compute something else. How would I write a script to separate or pull only one of the parts of the value out? help greatly appreciated as i continue my learning process of php. -mark __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Arrays in form
Hi all How can i implement a hotmail-inbox like checkbox functionality? thanks in adv Regards Srinivasan Ranganathan Do You Yahoo!? Send a newsletter, share photos files, conduct polls, organize chat events. Visit http://in.groups.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]