<?php //One set of variables $variable1 = "omfg"; $variable2 = "hoha"; $variable3 = "rofl"; //second lot of variables $variable1b = "omfg"; $variable2b = "hoha"; $variable3b = "rofl"; //third lot of variables $variable1c = "omfg"; $variable2c = "hoha"; $variable3c = "rofl"; ?>
You get the idea
The problem is I've no idea how to get config.php translated into a variable,
Normally something like:
<?php $myFile = "config.php"; $fh = fopen($myFile, 'r'); $theData = fgets($fh); fclose($fh); echo" $theData "; ?>
This comes up blank, I need $theData to echo the code of config.php
Any suggestions:S
Thanks:D
