Newbies Question
| From: | news.php.net | Date: | Sun, 07 Apr 2002 13:29:53 +0000 |
| Subject: | Newbies Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-91922@lists.php.net to get a copy of this message | ||
Hi everybody,
I'm a french newbie in PHP and I'm trying to resolve this :
<?php
$rf = fopen("album.dat", "r");
$row = 1;
while ($data = fgetcsv ($rf, 1000, ";"))
{
$num = count ($data);
print $num;
//print "<p> $num champs dans la ligne $row: <br>";
//$row++;
for ($c=0; $c<$num; $c++) {
//print $data[$c] . "<br>";
$image = $data[$c];
$img = GetImageSize(""$image\n""); this is Line 13
print $image;
print $img;
}
}
fclose($rf);
each time I run it I get a : Parse error: parse error in essai2.php on line
13
All I want is to get the image name and size to put in in a table
TYA for your help