PrateekSaxena Posted March 9, 2007 Share Posted March 9, 2007 Hello,I currently have an AwardSpace free account that allows me to create one Database with some tables. But I do not know ow my PHP can connect with that database, I mean I don't know what to type in the location. does anyone else use AwardSpace and can solve this problem? Link to comment Share on other sites More sharing options...
Anders Moen Posted March 9, 2007 Share Posted March 9, 2007 You mean like using for example localhost to connect to the database? Cause I think AwardSpace use localhost if this is what you mean. Link to comment Share on other sites More sharing options...
PrateekSaxena Posted March 9, 2007 Author Share Posted March 9, 2007 Yes that is what I mean!You mean I do not need to type localhost/mySubDomain/tableNameA friend told me to do this and it was not working Link to comment Share on other sites More sharing options...
Anders Moen Posted March 9, 2007 Share Posted March 9, 2007 No =/To connect, you can use this:$con = mysql_connect("localhost", "username", "password"); and then some more Link to comment Share on other sites More sharing options...
PrateekSaxena Posted March 10, 2007 Author Share Posted March 10, 2007 Alright thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now