blink359 Posted April 27, 2009 Share Posted April 27, 2009 got at the start of my script include('config.php'); which is <?php $dbhost = "localhost"; //database host goes here $dbuser = "your_user"; //database user goes here $dbpass = "your_password"; //database password goes here $dbname = "logon"; //database name goes here ?> it just echos that info what wrong? im only just starting to use include cos it saves time but i dont know how to do properly Link to comment https://forums.phpfreaks.com/topic/155886-include/ Share on other sites More sharing options...
ignace Posted April 27, 2009 Share Posted April 27, 2009 include the script that does the include of include('config.php'); Link to comment https://forums.phpfreaks.com/topic/155886-include/#findComment-820544 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.