I have a page that contains php code before any page. this all worked fine until I added
PHP Code:
$page1 = "<form action=".$_SERVER['PHP_SELF']." method=\"post\">
<fieldset><legend>Add Page</legend>
<label>page</label><input name=\"page\" type=\"text\" />
<label>Description</label><input name=\"description\" type=\"text\" />
<label>category</label><select name=\"category\">".$site->Fetch_Cats_Id()."</select>
<input id=\"addpagesubmit\" type=\"submit\" value=\"Add Forum\" />
</fieldset>
</form>";
The $site class is fine, and I'm not getting any errors generated, or any html in the source for that matter - I'm just wanting to know what has happened.
__________________
My webmaster news & tips blogs with free scripts and tutorials - http://ap-gfx.com
|