Snooble Posted May 30, 2007 Share Posted May 30, 2007 I need to use one of those methods to connect to my database. My database is one created through phpmyadmin. How can i connect to it through one of those methods? Thank you Snooble Link to comment https://forums.phpfreaks.com/topic/53663-desperate-now-anyone-help-me-sql-connecting/ Share on other sites More sharing options...
marcus Posted May 30, 2007 Share Posted May 30, 2007 Use PHP to connect to it, why would you need to use one of those methods? $c = mysql_connect(host,user,password) or die(mysql_error()); $sdb = mysql_select_db(dbname,$c); Link to comment https://forums.phpfreaks.com/topic/53663-desperate-now-anyone-help-me-sql-connecting/#findComment-265261 Share on other sites More sharing options...
AndyB Posted May 30, 2007 Share Posted May 30, 2007 Don't start a new thread when you already have a perfectly good one in progress on exactly the same topic. You've claimed in the other thread that you want to connect to a MySQL database - tragically absent from the list in the image you posted. I'd suggest that you ask your web host how to do it. They're the people who got you in this mess. Don't they have any FAQ pages, support email addresses, etc? Thread closed. Link to comment https://forums.phpfreaks.com/topic/53663-desperate-now-anyone-help-me-sql-connecting/#findComment-265265 Share on other sites More sharing options...
Recommended Posts