|
Posted by Curt Zirzow on 12/29/05 07:55
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
Navigation:
[Reply to this message]
|