Ibshas25 Posted November 2, 2010 Share Posted November 2, 2010 where does the connection details go and in what manner order etc, server url, username, password <?php define( "DB_DSN", "); define( "DB_USERNAME", " ); define( "DB_PASSWORD", " ); define( "PAGE_SIZE", 5 ); define( "TBL_", " ); define( "TBL_", "" ); ?> Link to comment https://forums.phpfreaks.com/topic/217564-how-to-set-up-a-config-file/ Share on other sites More sharing options...
MasterACE14 Posted November 3, 2010 Share Posted November 3, 2010 <?php define( "DB_DSN", "something"); define( "DB_USERNAME", "yourusername" ); define( "DB_PASSWORD", "yourpassword" ); define( "PAGE_SIZE", 5 ); define( "TBL_", "something" ); ?> Link to comment https://forums.phpfreaks.com/topic/217564-how-to-set-up-a-config-file/#findComment-1129814 Share on other sites More sharing options...
Festy Posted November 3, 2010 Share Posted November 3, 2010 <?php define( "DB_DSN", "xyz"); define( "DB_USERNAME", "username" ); define( "DB_PASSWORD", "password" ); define( "PAGE_SIZE", 10 ); define( "TBL_", "abc" ); ?> Link to comment https://forums.phpfreaks.com/topic/217564-how-to-set-up-a-config-file/#findComment-1129828 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.