Forum Moderators: coopster

Message Too Old, No Replies

php and frames

         

electricocean

1:02 am on Apr 29, 2005 (gmt 0)

10+ Year Member



Hi,

I have a frameset and i want it to have php cod in the same file. Since there is no <body> tags can I add php?

my code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Admin Panel</title>
</head>
<?php
require_once('authentication.php');
?>
<frameset cols="20%,80%" framespacing="0" border="0" frameborder="NO">
<frame src="admin_sidebar.php" name="sidebar" scrolling="no" noresize frameborder="yes">
<frame src="admin_body.php" name="body" scrolling="auto" noresize>
</frameset><noframes></noframes>
</html>

edacsac

4:34 am on Apr 29, 2005 (gmt 0)

10+ Year Member



Absolutly!

Think of CMS systems that echo a string of keywords from the database as meta keywords in the head of the document. That happens way before a body tag.