View Single Post
  #4  
Old 01-20-2016, 09:15 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 88,534
Kyttias is on a distinguished road
Default

In case there's confusion, these lines:

PHP Code:
include("../inc/config.php");  
$db mysqli_connect(DBHOSTDBUSERDBPASSDBNAME); 
Don't need to be modified. It's actually retrieving those variables from the included file above it. This means you won't have to add your database info to every single ajax page you need!
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote