changing a variable according to the input in a checkbox

From: Date: Mon, 26 Nov 2001 12:04:09 +0000
Subject: changing a variable according to the input in a checkbox
Groups: php.general 
Request: Send a blank email to php-general+get-75708@lists.php.net to get a copy of this message
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 083xxxxxxxxxx, it should goto provider 1, if he types in 082xxxxxxxxxx, it should goto provider 2, and if he types in 084xxxxxxxxxx, it should goto provider 3. I have a simple mail script, with $phone for the phone number variable, and this is the one that needs to change. Rudi Ahlers UNIX Specialist and Web Developer Bonzai Web Design - http://www.bonzai.org.za Cell: 082 926 1689

« previous php.general (#75708) next »