You are here: Re: Parse error - please help « PHP Programming Language « IT news, forums, messages
Re: Parse error - please help

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)) ? "&amp;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]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация