I'm using
but I'm in ROOT > STAFF > GUIDES but the page I want to include is in ROOT > STAFF.PHP Code:<?php include("whatever.php"); ?>

I'm using
but I'm in ROOT > STAFF > GUIDES but the page I want to include is in ROOT > STAFF.PHP Code:<?php include("whatever.php"); ?>
if you want to go down a directory:
PHP Code:<?php include("../whatever.php"); ?>
Ex-janitor. Might pop in from time to time, otherwise you can grab all my information from http://jamesy.me.uk/
Ahhhh... Thank you, I knew it was something like that.. I has ..whatever.php :8
- EDIT ///
Any reason why this doesn't show?
The code is in between general text, html though.PHP Code:site you're djing on, for example <?php echo $sitename; ?>. Last of all under "Track Title/URL" there is an option that says "Enable title updates" which should be ticked along side with "Title".
at the top of the page I've got
which links to config.php which hasPHP Code:<?php include("../config.php"); ?>
PHP Code:<?php
$host = "localhost";
$user = "root";
$pass = "123";
$data = "blahblah";
$sitename = "YOUR SITE NAME";
$ms = mysql_pconnect($host, $user, $pass);
if( !$ms )
{
echo "Error connecting to database.
";
}
mysql_select_db($data);
?>
Last edited by Shibby-Shabs; 12-02-2010 at 11:30 AM.
Your page is a .php right?![]()
Want to hide these adverts? Register an account for free!