I have searched the web and I can easily find tutorials, but they just don't explain well enought... So I would like an example code to do this, (ie, fake password, and whatever local host is reall supost to mean, because they don't tell you, and local host can mean many things..)
I think I might of got it. Because not everyone should assume your computer works as a server, like mine doesn't because it donesn't want to properly install php, mySQL, and everything, but it will install appache.
"localhost" means the computer that the script is running on.
On most hosting configurations, the mysql server and the web server (apache) are both running on the same machine, that is why you always see "localhost" as the mysql server.
If your mysql server was running on db.mydomain.com and your webserver (where your script is running) was www.jimbob.com, then your connect string would be mysql_connect("db.mydomain.com", "myusername", "mypassword");
I hope this clears things up for you.
In order to understand recursion, one must first understand recursion.
If you feel like it, you can read my blog
Signal > Noise