BoarderLine Posted November 26, 2008 Share Posted November 26, 2008 Can anyone please help with this prob which suddenly appeared after inserting a second Dynamic Thumb ($objDynamicThumb2) onto my site however I think I have moved something here I shouldn't have but am unsure as this is the first dealing I've had with the BeginLock function. The error I receive is Parse error: syntax error, unexpected '<' in C:xampphtdocsHome2.php on line 108. (108 being the first line of the MM:BeginLock. Any help here appreciated. Thanks. $objDynamicThumb2 = new tNG_DynamicThumbnail("", "KT_thumbnail2"); $objDynamicThumb2->setFolder("images/EventListing_Pics/"); $objDynamicThumb2->setRenameRule("{rsEventImages.ImageFile}"); $objDynamicThumb2->setResize(100, 100, true); $objDynamicThumb2->setWatermark(false); <MM:BeginLock translatorClass="MM_SSI" type="ssi" orig="%3C?php require_once('Connections/Stuff.php'); ?%3E" fileRef="Connections/Stuff.php" depFiles="file:///C|/xampp/htdocs/Connections/Stuff.php"><?php # FileName="Connection_php_mysql.htm" # Type="MYSQL" # HTTP="true" $hostname_Stuff = "####"; $database_Stuff = "####"; $username_Stuff = "####"; $password_Stuff = "####"; $Stuff = mysql_pconnect($hostname_Stuff, $username_Stuff, $password_Stuff) or trigger_error(mysql_error(),E_USER_ERROR); ?><MM:EndLock> Link to comment https://forums.phpfreaks.com/topic/134431-parse-error-mmbeginlock/ Share on other sites More sharing options...
willpower Posted November 26, 2008 Share Posted November 26, 2008 That code i believe is proprietany to Dream weaver and its included within the <?php ?> tags. There is no way PHP can parse that. You need to close yopur tags before and reopen after that line Link to comment https://forums.phpfreaks.com/topic/134431-parse-error-mmbeginlock/#findComment-699862 Share on other sites More sharing options...
BoarderLine Posted November 26, 2008 Author Share Posted November 26, 2008 I Love u!! Thanks Link to comment https://forums.phpfreaks.com/topic/134431-parse-error-mmbeginlock/#findComment-699872 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.