Apr 21, 2006 #1 blekfis Programmer Joined Oct 19, 2001 Messages 38 Location SE My script is called like this: script.php?sms=123#456 Then I use GET to read $sms into the script. 123 and 456 is two separate values I'd like to retrieve. They can be from 1-5 digits each. Best way to do this?
My script is called like this: script.php?sms=123#456 Then I use GET to read $sms into the script. 123 and 456 is two separate values I'd like to retrieve. They can be from 1-5 digits each. Best way to do this?
Apr 21, 2006 1 #2 sleipnir214 Programmer Joined May 6, 2002 Messages 15,350 Location US I'd use explode() http://www.php.net/manual/en/function.explode.php Want the best answers? Ask the best questions! TANSTAAFL! Upvote 0 Downvote
I'd use explode() http://www.php.net/manual/en/function.explode.php Want the best answers? Ask the best questions! TANSTAAFL!
Apr 21, 2006 Thread starter #3 blekfis Programmer Joined Oct 19, 2001 Messages 38 Location SE You're fast - and also gave the right answer to what I've been looking for Thanx!! Upvote 0 Downvote