Forum Moderators: coopster
<?php
$action = $_GET['action'];
if ($action == about) {
echo "<iframe src = aboutus.html width="415" height="398">
<p>Your browser does not support the correct coding for this website.</p>
</iframe>";
}
elseif ($action == designs) {
echo "<iframe src = designs.html width="415" height="398">
<p>Your browser does not support the correct coding for this website.</p>
</iframe>";
}
else {
echo "<iframe src = homecontent.php width="415" height="398">
<p>Your browser does not support the correct coding for this website.</p>
</iframe>";
}
?> Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /www/cjdesigns/index3.php on line 91 echo "<iframe src = aboutus.html width="415" height="398"> <?php
$action = $_GET['action'];
if($action == "about") {
echo '<iframe src="aboutus.html" width="415" height="398">
<p>Your browser does not support the correct coding for this website.</p>
</iframe>';
} elseif($action == "designs") {
echo '<iframe src="designs.html" width="415" height="398">
<p>Your browser does not support the correct coding for this website.</p>
</iframe>';
} else {
echo '<iframe src="homecontent.php" width="415" height="398">
<p>Your browser does not support the correct coding for this website.</p>
</iframe>';
}
?> echo "<iframe width="22">"; echo "<iframe width="SYNTAX ERROR
echo "<iframe width=\"22\">"; echo '<iframe width="22">'; if($action == about) { if($action == "about") {