|
Posted by Kim Andrι Akerψ on 10/31/06 16:18
belovah@gmail.com wrote:
> Hey!!
>
> Can anyone please tell me what's wrong with this line. I'm totally
> lost :s
>
> Error:
> Parse error: parse error, unexpected '.' in
> C:\Server\www\4images\includes\functions.php on line 479
>
> Code:
> $thumb = "<a
> href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$im
> age_id.((!empty($mode)) ? "&mode=".$mode : ""))."\"
> onClick=\"NewWindow=window.open('{media_src}','NewWindow','toolbar=no,
> location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizab
> le=yes,width=\"". $size[0]; . ",height=" .$size[1];.
> ",top=0,left=0');\" target=\"detailwindow\">".$thumb."</a>";
The error is in reference to $size[0] and $size[1], which ends with a
semicolon (marking the end of code line for PHP).
--
Kim AndrΓ© AkerΓΈ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
Navigation:
[Reply to this message]
|