RE: [PHP] changing a variable according to the input in a checkbox

2001-11-27 Thread Yoan Bosch [VDB TECH SUPPORT & DEVEL]
Hi I think if you want the user to type in a number, rather use a textbox, not a checkbox ;-)) Then call the textbox "phone" in the form you want the user to fill in, and when submitted, the variable $phone will contain the number he typed in. Then use: $prefix = substr($phone, 0, 3); if (($

Re: [PHP] changing a variable according to the input in a checkbox

2001-11-26 Thread Miles Thompson
At 02:04 PM 11/26/2001 +0200, Rudi Ahlers wrote: >How would I be able to change a variable from the input in a checkbox? I >need to write an sms script, that would be able to sms to three different >providers, and I only want the use to type in the phone number. Thus, if he >types in 083xx