Simple Machines Community Forum

General Community => Scripting Help => Aiheen aloitti: TheWrath! - syyskuu 19, 2007, 11:36:15 AP

Otsikko: Question
Kirjoitti: TheWrath! - syyskuu 19, 2007, 11:36:15 AP

echo '<p style="text-align: center;"> <img alt="" src="http://www.nationalterroralert.com/advisory7.gif" /> </p>
<p style="text-align: center;">Congratulations on all Company 4's junior members who graduated Boot Camp.<br />
Thank you for visiting the Blue Ridge Fire and Rescue website and for your patience as we changed to a new format. We hope you will find our new site informative and helpful. </p>
    Here at Blue Ridge Fire and Rescue we are committed to providing our neighbors in our first-due area with quality service.<span>  </span>We have instituted a rigorous continuing education program to maintain a high standard of quality services given by our firefighters and EMS providers.<span>  </span>We work closely with neighboring companies in a joint effort to ensure your property is protected from fire and your good health is maintained.
<p class="MsoPlainText" style="text-align: center;">Please feel free to visit us in Blue Ridge Summit or contact us if you have any questions about our services or are interested in a career or avocation in Emergency Fire or Medical Services.</p>
<div style="text-align: center;">Enjoy the website!!<br />
Pat Fleagle<br />
<span style="font-weight: bold;">Administrative Officer</span></div>';


that is my code

i get the following error
LainaaParse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/blueridgefireandrescue/public_html/Sources/Load.php(1735) : eval()'d code(35) : eval()'d code on line 2
Otsikko: Re: Question
Kirjoitti: Dannii - syyskuu 19, 2007, 11:39:26 AP
You need to escape your quotes.
Otsikko: Re: Question
Kirjoitti: karlbenson - syyskuu 19, 2007, 11:43:32 AP
Note, single quotes only.

Eg
Company 4\'s
Otsikko: Re: Question
Kirjoitti: TheWrath! - syyskuu 19, 2007, 12:24:48 IP
Thank you

I have found that to be an issue alot. lol.  I just change the html/bbc block to a php and get these errors. Thank you once again

BRFRWebGuy!

Please CLOSE & LOCK