|
List Info
Thread: Parse error - please help
|
|
| Parse error - please help |

|
2006-11-01 09:36:14 |
|
This should work $th umb = "<a href="".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode))? "&mode=".$mode : ""))."" onClick="NewWindow=window.open('{media_src}','NewWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="". $size[0] . ",height=" .$size[1]. ",top=0,left=0');" target="detailwindow">".$thumb."</a>";
----- Original Message ---- From: belovah <belovah gmail.com> To: PHP-Masters <PHP-Masters googlegroups.com> Sent: Tuesday, October
31, 2006 9:46:54 PM Subject: [PHP -
MASTERS] Parse error - please help
He y!!
Can anyone please tell me what's wrong with this line. I'm totally lost :s
Error: Parse error: parse error, unexpected '.' in C:Serverwww4imagesincludesfunctions.php on line 479
Code: $thumb = "<a href="".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&mode=".$mode : ""))."" onClick="NewWindow=window.open('{media_src}','NewWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="". $size[0]; . ",height=" .$size[1];. ",top=0,left=0');" target="detailwindow">".$thumb."</a>";
Thank you,
Tina
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "PHP-Masters" group. To post to this group, send email to PHP-Masters googlegroups.com To unsubscribe from this group, send email to PHP-Masters-unsubscribe googlegroups.com For more options, visit this group at http://groups-beta.google.com/group/PHP-Masters -~----------~----~----~----~------~----~------~--~---
|
| Parse error - please help |

|
2006-11-01 09:38:31 |
try this
Code:
$thumb = <<<OEM
put your codes here, you dont have to escape the quotes...
80)
OEM;
Thank you,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "PHP-Masters" group.
To post to this group, send email to PHP-Masters googlegroups.com
To unsubscribe from this group, send email to
PHP-Masters-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups-beta.google.com/group/PHP-Masters
-~----------~----~----~----~------~----~------~--~---
|
|
[1-2]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|