What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » simple php help

simple php help
Author: Message:
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: simple php help
maybe try this:
code:
<?php
$header = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="css.css" type="text/css" />

<title>123</title>
</head>';

$body ='<body>

<div id="container">
<div id="header"></div>
<div id="content">';

$sidebar ='<div id="sidebar">
<ul>
<li><a href="novosti.php"><b>123</b></a></li>
<br />
<li><b>123</b></li>
<ul>
<li><a href="detskii_sad.php"><i>• 123</i></a></li>
<li><a href="sybot_shkola.php"><i>• 123</i></a></li>
<li><a href="podgotov_shkola.php"><i>• 123</i></a></li>
<li><a href="klass_taekwon_do.php"><i>• 123</i></a></li>
<li><a href="letnii_lager.php"><i>• 123</i></a></li>
<li><a href="program_do_i_posle.php"><i>• 123</i></a></li>
<li><a href="music_shkola.php"><i>• 123</i></a></li>
<li><a href="shkola_horeographii.php"><i>• 123</i></a></li>
<li><a href="russkii_kak_deti.php"><i>• 123</i></a></li>
<li><a href="francyzskii_deti.php"><i>• 123</i></a></li>
</ul>
<li><b>123</b></li>
<ul>
<li><a href="ansambl_kalinka.php"><i>• 123</i></a></li>
<li><a href="klass_aerobiki.php"><i>• 123</i></a></li>
<li><a href="workshop.php"><i>• Workshop</i></a></li>
<li><a href="russkii_kak_vzros.php"><i>• 123</i></a></li>
<li><a href="francyzskii_vzros.php"><i>• 123</i></a></li>
<li><a href="angliskii.php"><i>• 123</i></a></li>
</ul>
<li><a href="http://www.pokrov.ca/School/schoolalbum.php" target="_blank"><b>123</b></a></li>
<li><a href="adres.php"><b>123</b></a></li>
<li><a href="index.php"><b>123</b></a></li>
</ul>
</div>';

$footer = '</div>

<div id="footer">
<p>&copy; 2007</p>
</div>

</div>
</body>
</html>';
?>

code:
<?php
include('static_content.php');
echo $header;
echo $body;
echo $sidebar;
?>


<div id="main">
<p>Francyzskii yazik</p>
</div>

<?php
echo $footer;
?>


added some ; into the first one after the ended variables (they should be making errors if they werent there...)... also changed to echo

This post was edited on 04-01-2007 at 02:44 AM by NanaFreak.
04-01-2007 02:35 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
simple php help - by Supersonicdarky on 04-01-2007 at 02:25 AM
RE: simple php help - by Nathan on 04-01-2007 at 02:31 AM
RE: simple php help - by NanaFreak on 04-01-2007 at 02:35 AM
RE: simple php help - by Supersonicdarky on 04-01-2007 at 02:38 AM
RE: simple php help - by Nathan on 04-01-2007 at 02:40 AM
RE: simple php help - by NanaFreak on 04-01-2007 at 02:46 AM
RE: simple php help - by Nathan on 04-01-2007 at 02:48 AM
RE: simple php help - by NanaFreak on 04-01-2007 at 02:50 AM
RE: simple php help - by Supersonicdarky on 04-02-2007 at 11:55 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On