L
lildjrich
Guest
I'm writing a CMS and I want to boost the installation a little more by adding a Support box to the right.
I've got the basic if echo command on there, but I can't get it to change the support text for each individual installation page.
The code is as follows:
<?php
$support1 = "<h5>Support</h5>Read through the license and then agree or disagree. However you must agree to continue the installation.";
if directory='index.php?step1' {
echo $support1;
}
else {
echo "No support available.";
}
The pages load fine without whatever bit is wrong (the first bit I believe), and it installs properly.
Any ideas as to whats best to do what I wanted?
I was thinking about doing something like
<?php
$support1 = "<h5>Support</h5>Read through the license and then agree or disagree. However you must agree to continue the installation.";
if include('step1'.php'); {
echo $support1;
?>
I've got the basic if echo command on there, but I can't get it to change the support text for each individual installation page.
The code is as follows:
<?php
$support1 = "<h5>Support</h5>Read through the license and then agree or disagree. However you must agree to continue the installation.";
if directory='index.php?step1' {
echo $support1;
}
else {
echo "No support available.";
}
The pages load fine without whatever bit is wrong (the first bit I believe), and it installs properly.
Any ideas as to whats best to do what I wanted?
I was thinking about doing something like
<?php
$support1 = "<h5>Support</h5>Read through the license and then agree or disagree. However you must agree to continue the installation.";
if include('step1'.php'); {
echo $support1;
?>