Hello
PHP Parse error: syntax error, unexpected T_VARIABLE in /home/mysite/public_html/guestbook/getdrawings.php on line 1
<?php
$dir=opendir("data");
while ($file=readdir($dir)){
if(substr($file, -3) == "xml"){
print 'data/'.$file.'|';
}
}
closedir($dir);
?>
Need your suggestions to solve this problom
regards