So is the include file a seperate php file that would sit in a folder called include?
if so how does
$con = mysqli_connect($server, $user, $password, $database);
know to point to "include.php"
The way KULP suggeted with using:
require_once('includes/connection.php');makes sense as I can see that, it is "physically" (in code anyway) pointing to the file in the "include" folder
Last edited by stuckupvacant; 03-27-2013 at 01:20 PM..