WebSite X5Help Center

 
Mark Fletcher
Mark Fletcher
User

Connect to database using include '../res/x5engine.php';  en

Auteur : Mark Fletcher
Visité 2260, Followers 1, Partagé 0  

I can connect to my database by including,

<?php 
$host = 'localhost';
$db = 'dbname';
$user = 'username';
$password = 'password'

?>

How do I connect using

<?php

include '..res/x5engine.php'; instead

?>

What are the variable names used by x5engine.php to connect to the databaser?

Thanks

Posté le
3 RéPONSES - 1 UTILES
Mark Fletcher
Mark Fletcher
User
Auteur

Looks like I have a lot to learn.

Thanks

Mark

Lire plus
Posté le de Mark Fletcher