this is what the eval() command equates to
        $str = "include("$path/inc/");";
that should make it clearer (??)

-----Original Message-----
Sent: Friday, December 14, 2001 4:21 PM
To: php-general
Subject: [PHP] using eval

  I keep getting this error when I use eval what am I missing
Parse error: parse error in c:\httpd\doc\install.php(6) : eval()'d code on
line 1

$fp3=fopen ("","w")or die("unable to open file (");
eval ("\$str = \"$str\";");
fwrite($fp3,"$str \n"); 


Best regards,
 rdkurth                          mailto:[EMAIL PROTECTED]

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to