I have:
Apache 2.0.59
MySQL 5.0.41
PHP 4.4.7 5.2.5
and this is my program:
?php
session_start();
include(includes/functions_main.php);
include(Vars.php);
?
?php get_header(); ?
?php get_sidebar(); ?
?php
$page = '$_GET[page]';
$cxn = mysqli_connect($host, $user,$passwd, $database) or
You did everything perfectly in the email except for show what the
error message was.
i am assuming your issue is with the line
$page = '$_GET[page]';
that should just be
$page = $_GET['page'];
The way you are doing it (inside single quotes) does not evaluate the
array as a variable,
In the HTML, you either need to use ?php echo $title; ? or, if you
have short tags on, ?= $title ?, not ?php $title ?.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Chris Hale wrote:
I have:
Apache 2.0.59
MySQL 5.0.41
PHP 4.4.7 5.2.5
and this is