View Full Version : Php


zangerbanger
05-24-2003, 04:28 AM
Okay, I'm starting to learn php now. It's the most complicated stuff I've seen so I'm going to need lots and lots of help.

I've made a basic test site which can be found here:
http://jordan.eternal-dreamer.net/history.php
but I keep getting that error. Does anybody know how to fix it?

Here's the code that I used:


<?php
$name = "Jordan";
echo "<html><head><title>Visions Of Virtue: Version 2</title><link rel="stylesheet" href="stylesheet.css"></head>";
echo "<body>";
echo "<p><div class="heading">History</div>";
echo "BLAH<br><br>";
echo "BLAH<br><br>";
echo "BLAH</p>";
echo "</body></html>";
?>

amicus
05-24-2003, 04:35 AM
i'm not a php expert but it looks like you have to use the escape on your quotes. when ever you want to print quotes you have to use an escape.

echo "<html><head><title>Visions Of Virtue: Version 2</title><link rel=\"stylesheet\" href=\"stylesheet.css\"></head>";

echo "<p><div class=\"heading\">History</div>";