I'm hopefully going to be doing a project in PHP/MySQL and as I've not used these 2 before, I've been having a read on the Internet and I've installed WAMP which I've been playing around with and learning the basics.
I know it's along way off (But it'll go quick) but how would I go about putting my .php pages and my database online?
At the moment I'm just running off my localhost and using PHPMyAdmin, but on my University login, I have a webspace folder which I just drop files into and then navigate to my homepage.
Would it simply be a case of dropping my .php files in there and exporting my database via PHPMyAdmin (What would I export it as?) and then dropping that in there?
Also, when connecting to the DB in my .php files, instead of having...
mysql_connect("localhost","root","password");
When it's in my webspace folder, instead of localhost, what would I put there? and as for root and the password I set for the DB, that would be the same right?
Thanks
I know it's along way off (But it'll go quick) but how would I go about putting my .php pages and my database online?
At the moment I'm just running off my localhost and using PHPMyAdmin, but on my University login, I have a webspace folder which I just drop files into and then navigate to my homepage.
Would it simply be a case of dropping my .php files in there and exporting my database via PHPMyAdmin (What would I export it as?) and then dropping that in there?
Also, when connecting to the DB in my .php files, instead of having...
mysql_connect("localhost","root","password");
When it's in my webspace folder, instead of localhost, what would I put there? and as for root and the password I set for the DB, that would be the same right?
Thanks
