First things first, these forums have a [ php ] tag which will use syntax highlighting to make it easier to read code...
secondly, the error is due to you using double quotes to open then string, but you also use double quotes around your attribute tags
Code: Select all
<?php
require_once("conn.php");
require_once("includes.php");
$ShowInfo .= "<FRAMESET BORDER=0 FRAMESPACING=0 FRAMEBORDER=0 ROWS="74,*">
<FRAME NAME="header" TITLE="header" SRC="header.html" SCROLLING=AUTO MARGINWIDTH="2" MARGINHEIGHT="1" FRAMEBORDER=NO BORDER="0" NORESIZE>
<FRAME NAME="body" TITLE="body" SRC="$a1[website]" SCROLLING=AUTO MARGINWIDTH=2 MARGINHEIGHT=2>
</FRAMESET>";
?>
either escape the double quotes (") in your html code (such as <FRAME NAME=\"header\" TITLE=\"header\" [...])
or, use single quotes for the string:
Code: Select all
<?php
require_once("conn.php");
require_once("includes.php");
$ShowInfo .= '<FRAMESET BORDER=0 FRAMESPACING=0 FRAMEBORDER=0 ROWS="74,*">
<FRAME NAME="header" TITLE="header" SRC="header.html" SCROLLING=AUTO MARGINWIDTH="2" MARGINHEIGHT="1" FRAMEBORDER=NO BORDER="0" NORESIZE>
<FRAME NAME="body" TITLE="body" SRC="'.$a1['website'].'" SCROLLING=AUTO MARGINWIDTH=2 MARGINHEIGHT=2>
</FRAMESET>';
?>