On Wed, Dec 28, 2005 at 10:30:04PM -0500, PHP Superman wrote: > Hey everyone, is there a way to return all the variables from a string into > an array, for example > $Var1="Yo"; > $Var2="Man"; > $SQL="SELECT * FROM tblname WHERE 4=$Var1 AND WHERE 3=$Var2"; > $AllVars=MySpecialFunction($SQL); > print_r($AllVars); I'm not sure what your trying to do but well, var_dump($Var1, $Var2, $AllVars); Curt. -- cat .signature: No such file or directory -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php