Sparkz
05-13-2002, 11:49 AM
I have a variable
$myvar = "http://my.host.com/script.php?var=$content['var']&var2=$content['somethingelse']";
Now, I want to use eval() to evaluate the contents of $myvar into another var, something like
eval ("$url = \"$myvar\";");
This gives me errors, tho...
Parse error: parse error in /usr/local/web/modules/mod_http.inc(7) : eval()'d code on line 1
can anyone help me with this one?
$myvar = "http://my.host.com/script.php?var=$content['var']&var2=$content['somethingelse']";
Now, I want to use eval() to evaluate the contents of $myvar into another var, something like
eval ("$url = \"$myvar\";");
This gives me errors, tho...
Parse error: parse error in /usr/local/web/modules/mod_http.inc(7) : eval()'d code on line 1
can anyone help me with this one?