Maybe this can help :

pick up an array of variables from a query string such as:



Visit Today!!! 
To see where PHP might take you tomorrow.

-----Original Message-----
From: Paul A. Procacci [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 4:31 AM
Subject: [PHP] regex

Hey all,
   I'm been programming in php for a while, but I'm stumpt with this 
one.  You know the funny thing?  It's probably really simple.  Anyway 
here it is.  Assume I have this query string:


And all I want is 2=&1=&.  Well, the closest I came was :

$string = preg_replace("/[^0-9]+\=/", "", $QUERY_STRING);  Assuming 
QUERY_STRING was the data.

Please help

Thanks Much,

PHP General Mailing List (
To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to