Crew-Portal Posted August 21, 2007 Share Posted August 21, 2007 Hi I am building a script bla bla bla ... Anyways I need a thingy to show if the connection to the MySQL database is there! I cant get my members to be able to log on and i think the problem is for some reason the database wont connect... Can someone just post a quick script to display if the connection exists Link to comment https://forums.phpfreaks.com/topic/66049-solved-show-if-connected/ Share on other sites More sharing options...
BlueSkyIS Posted August 21, 2007 Share Posted August 21, 2007 mysql_connect($server,$user,$password) or die("not connected."); Link to comment https://forums.phpfreaks.com/topic/66049-solved-show-if-connected/#findComment-330320 Share on other sites More sharing options...
Crew-Portal Posted August 21, 2007 Author Share Posted August 21, 2007 Thank you! A simple script for a simple mind! (PS: That wasnt to you that was to me for asking someone to write a one line script) Thanks BlueSkyIS! TOPIC SOLVED!!! Link to comment https://forums.phpfreaks.com/topic/66049-solved-show-if-connected/#findComment-330328 Share on other sites More sharing options...
akitchin Posted August 21, 2007 Share Posted August 21, 2007 hit the "topic solved" button then, please. Link to comment https://forums.phpfreaks.com/topic/66049-solved-show-if-connected/#findComment-330329 Share on other sites More sharing options...
Crew-Portal Posted August 21, 2007 Author Share Posted August 21, 2007 You must have gotton to the Page right when I posted! lol... Anyways ya I always hit the button! Link to comment https://forums.phpfreaks.com/topic/66049-solved-show-if-connected/#findComment-330363 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.