Results 1 to 15 of 15
Jan 25, 2013, 07:53 #1
- Join Date
- Jan 2013
- 0 Post(s)
- 0 Thread(s)
HELP NEEDED on directory of share include file
//this is my index file on totaljokes-error( a folder name)
include_once $_SERVER['DOCUMENT_ROOT'] . '/includes/db.inc.php';
$result=$pdo->query('SELECT COUNT(*) FROM joke');
catch (PDOException $e)
$error='Database error counting jokes!';
//Even my folder "includes" contained file "error.html.php" and "db.inc.php" in directory wamp/www, but the http://localhost/totaljokes-error/ showed nothing, just blank. Am i wrong placed my file or what else? I'm blur with the share include file in directory.
Any help is appreciated.