swethak
08-07-2008, 10:59 AM
hi,
i create the one file.At time of creation i insert below contents into the file
<?php
include("ClassName.class");
$myclass = &new ClassName;
echo $myclass->myfunction1();
?>
After file created and insert the text into the file as like this
<?php
include(\"ClassName.class\");
$myclass = &new ClassName;
echo $myclass->myfunction1();
?>
In that additionally add \ .Due to this i got the error as
errors :
Unexpected character in input: '\' (ASCII=91) state=1 in F:\Facebook\furniture11\Data Mining1\public_html\admin\newfile.php on line 1
Parse error: parse error, unexpected $end in F:\Facebook\furniture11\Data Mining1\public_html\admin\newfile.php on line 1
plz tell that how i avoid the errors
i create the one file.At time of creation i insert below contents into the file
<?php
include("ClassName.class");
$myclass = &new ClassName;
echo $myclass->myfunction1();
?>
After file created and insert the text into the file as like this
<?php
include(\"ClassName.class\");
$myclass = &new ClassName;
echo $myclass->myfunction1();
?>
In that additionally add \ .Due to this i got the error as
errors :
Unexpected character in input: '\' (ASCII=91) state=1 in F:\Facebook\furniture11\Data Mining1\public_html\admin\newfile.php on line 1
Parse error: parse error, unexpected $end in F:\Facebook\furniture11\Data Mining1\public_html\admin\newfile.php on line 1
plz tell that how i avoid the errors