Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

php in block

Aloittaja TheWrath!, lokakuu 07, 2007, 09:50:03 AP

« edellinen - seuraava »

TheWrath!

here is my code


echo '<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> <strong><em><font size="4" face="Bernhart" color="#eea011">" IT/'S FIRE  PREVENTION TIME "</font></em></strong></p>
<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> </p>
<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> <font color="#ffffff">Fire prevention week  2007 is October 7 - 13</font></p>
<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> </p>
<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> <font size="5" color="#ffffff"><strong><em>Fire Safety In Your Home Starts  Immediately !</em></strong></font></p>
<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> </p>
<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> <font color="#ffffff"> Have you planned an escape route in your  home ?</font></p>
<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> </p>
<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> <font color="#ffffff">In combination with a family escape plan, properly  installed and maintained </font> </p>
<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> <font color="#ffffff">smoke detectors can save lives in case of fire.</font></p>
<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> <font color="#ffffff">Most fatal home fires occur at night, while people  are asleep. Poisonous gases and smoke from a fire in your home can numb  the senses in a very short time.</font></p>
<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> </p>
<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> <font color="#ffffff">Every home needs a device that can wake people up  in time to escape from a fire. Of all the low-cost fire alarm devices  you can buy, smoke detectors are considered to be the </font> </p>
<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> <font color="#ffffff">most effective.</font></p>
<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> </p>
<p align="center" style="line-height: 100%; word-spacing: 0pt; margin-top: 0pt; margin-bottom: 0pt;"> <font color="#ffffff">According to the accepted Standard on Household  Fire Warning Equipment ( NFPA 74), minimum protection requires smoke  detectors outside each bedroom and on each additional story of the  house. This includes the basement.</font></p>';


they give me this 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 1

i have / all ' except those after echo and the last one before ;. so i do not know what is wrong.

Dragooon


TheWrath!


Advertisement: