Yeah, the coding hurts my eyes
Using just MySQL would be better.

Yeah, the coding hurts my eyes
Using just MySQL would be better.
So shall I just code it so it connects to one database only?
Yeah, it should just connect to one type of database in my opinion, as your going to have a hell of a time throughout the script determining which function to use to query.
Better?PHP Code:<?php
$dbhost = 'localhost';
$dbuser = 'test';
$dbpass = 'changeme';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
$dbname = 'changeme';
mysql_select_db($dbname);
?>![]()
Want to hide these adverts? Register an account for free!