I have two files on my hosting website:
- Select.php - Contains variables and gets information from a database and works perfectly, I am able to have it write out all the variables.
- rank.html - generic website
I am trying to pull a single variable $Stouty447 from the Select.php file into my rank.html file.
I have tried:
<?php include 'Select.php';
echo $Stouty447;
?>
It outputs $Stouty447;?> on my webpage.
I have also tried:
<?php include 'Select.php' echo "$Stouty447";?>
This outputs "$Stouty447";?>
Any ideas on where I should go from here or what I should do?
view source. if you see<?phpin there, then your server is broken.php(unless you use someAddHandlermagic with.htaccess).rank.htmlto a PHP page.;.