PDA

View Full Version : php problem with billing system file?



Chadi
01-07-2006, 05:26 AM
Trying to edit user.dashboard_top_right_inc.php but getting this error

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/user/public_html/modernbill/include/html/custom/user.dashboard_right_top.inc.php on line 5
The code is:


<?php


start_box("Virtual Agent On Your Own Site","100%",NULL,"bullet090");
echo "<object id="ODDBANNER" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="300" height="250"> <param name="movie" value="https://banner.oddcast.com/banners/php/banner/bannerId=135&affiliateId=45522&promotionId=4784"/> <param name="quality" value="high"/> <param name="scale" value="noborder"/> <param name="bgcolor" value="#FFFFFF"/> <param name="FLASHVARS" value="media=https%3A%2F%2Fbanner.oddcast.com%2Fbanners%2F135%2F&link=https%3A%2F%2Fwww.oddcast.com%2Faffiliates%2Fentry%2F%3FbannerId%3D135%26affiliateId%3D45522%26promotionId%3D4784&colorHex=&audioType=2&text=Do+you+like+this+virtual+representative%3F+You+can+and+a+cusotmized+virtual+agent+to+your+own+site%21+Click+on+this+banner+to+learn+more.&aniLimit=0&newPage=1&"/> <embed src="https://banner.oddcast.com/banners/php/banner/bannerId=135&affiliateId=45522&promotionId=4784" swliveconnect="true" name="ODDBANNER" quality="high" scale="noborder" bgcolor="#FFFFFF" flashvars="media=https%3A%2F%2Fbanner.oddcast.com%2Fbanners%2F135%2F&link=https%3A%2F%2Fwww.oddcast.com%2Faffiliates%2Fentry%2F%3FbannerId%3D135%26affiliateId%3D45522%26promotionId%3D4784&colorHex=&audioType=2&text=Do+you+like+this+virtual+representative%3F+You+can+and+a+cusotmized+virtual+agent+to+your+own+site%21+Click+on+this+banner+to+learn+more.&aniLimit=0&newPage=1&" width="300" height="250" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer"> </embed> </object>";
stop_box();


?>



What is the problem?

Iiro
01-07-2006, 07:21 AM
There really is many parse errors.
replace this:



<?php


start_box("Virtual Agent On Your Own Site","100%",NULL,"bullet090");
echo "<object id="ODDBANNER" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="300" height="250"> <param name="movie" value="https://banner.oddcast.com/banners/php/banner/bannerId=135&affiliateId=45522&promotionId=4784"/> <param name="quality" value="high"/> <param name="scale" value="noborder"/> <param name="bgcolor" value="#FFFFFF"/> <param name="FLASHVARS" value="media=https%3A%2F%2Fbanner.oddcast.com%2Fbanners%2F135%2F&link=https%3A%2F%2Fwww.oddcast.com%2Faffiliates%2Fentry%2F%3FbannerId%3D135%26affiliateId%3D45522%26promotionId%3D4784&colorHex=&audioType=2&text=Do+you+like+this+virtual+representative%3F+You+can+and+a+cusotmized+virtual+agent+to+your+own+site%21+Click+on+this+banner+to+learn+more.&aniLimit=0&newPage=1&"/> <embed src="https://banner.oddcast.com/banners/php/banner/bannerId=135&affiliateId=45522&promotionId=4784" swliveconnect="true" name="ODDBANNER" quality="high" scale="noborder" bgcolor="#FFFFFF" flashvars="media=https%3A%2F%2Fbanner.oddcast.com%2Fbanners%2F135%2F&link=https%3A%2F%2Fwww.oddcast.com%2Faffiliates%2Fentry%2F%3FbannerId%3D135%26affiliateId%3D45522%26promotionId%3D4784&colorHex=&audioType=2&text=Do+you+like+this+virtual+representative%3F+You+can+and+a+cusotmized+virtual+agent+to+your+own+site%21+Click+on+this+banner+to+learn+more.&aniLimit=0&newPage=1&" width="300" height="250" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer"> </embed> </object>";
stop_box();


?>


with this:


<?php


start_box("Virtual Agent On Your Own Site","100%",NULL,"bullet090");
echo '<object id="ODDBANNER" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="300" height="250"> <param name="movie" value="https://banner.oddcast.com/banners/php/banner/bannerId=135&affiliateId=45522&promotionId=4784"/> <param name="quality" value="high"/> <param name="scale" value="noborder"/> <param name="bgcolor" value="#FFFFFF"/> <param name="FLASHVARS" value="media=https%3A%2F%2Fbanner.oddcast.com%2Fbanners%2F135%2F&link=https%3A%2F%2Fwww.oddcast.com%2Faffiliates%2Fentry%2F%3FbannerId%3D135%26affiliateId%3D45522%26promotionId%3D4784&colorHex=&audioType=2&text=Do+you+like+this+virtual+representative%3F+You+can+and+a+cusotmized+virtual+agent+to+your+own+site%21+Click+on+this+banner+to+learn+more.&aniLimit=0&newPage=1&"/> <embed src="https://banner.oddcast.com/banners/php/banner/bannerId=135&affiliateId=45522&promotionId=4784" swliveconnect="true" name="ODDBANNER" quality="high" scale="noborder" bgcolor="#FFFFFF" flashvars="media=https%3A%2F%2Fbanner.oddcast.com%2Fbanners%2F135%2F&link=https%3A%2F%2Fwww.oddcast.com%2Faffiliates%2Fentry%2F%3FbannerId%3D135%26affiliateId%3D45522%26promotionId%3D4784&colorHex=&audioType=2&text=Do+you+like+this+virtual+representative%3F+You+can+and+a+cusotmized+virtual+agent+to+your+own+site%21+Click+on+this+banner+to+learn+more.&aniLimit=0&newPage=1&" width="300" height="250" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer"> </embed> </object>';
stop_box();


?>

or you can do it with ASCII \"