webmaster1 Posted December 7, 2008 Share Posted December 7, 2008 Hi All, Just a quickie. I use CPANEL and myPHPAdmin. I can connect to a database fine when including the following file: <?php $host = 'localhost'; //usually localhost $username = 'xxx'; //your username assigned to your database $password = 'xxx'; //your password assigned to your user & database $database = 'xxx'; //your database name ?> Another PHP Freak is usng XAAMP but recieves and error message when using the exact same script. Whats the difference? ??? Link to comment https://forums.phpfreaks.com/topic/135875-solved-is-there-a-difference-between-xaamp-and-cpanel-when-connecting-to-a-database/ Share on other sites More sharing options...
webmaster1 Posted December 7, 2008 Author Share Posted December 7, 2008 Never mind; parse error. Link to comment https://forums.phpfreaks.com/topic/135875-solved-is-there-a-difference-between-xaamp-and-cpanel-when-connecting-to-a-database/#findComment-708306 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.