Hi Everybody,
I have wampserver set up on my desktop.
Any databases that I might create are stored in:
C:\wamp\bin\mysql\mysql5.5.24\data\DataBase Folder\DataBase.name
Currently, the only contents of the DataBase Folder are a few files with a [frm] extension and a single db.obt file
On the other hand, any PHP projects I will play with are stored in:
C:\wamp\www\ProjectName
The following is where I bang my head into a wall…
mysqli_connect(host, username, password, database, port, socket)
host: I sorta get this one, as long as I am using wampserver but when I run a project from an actual live web hosting company what value is used here?
username and password: Totally don’t understand this. If a username and password are written right into the web code… doesn’t that just defeat the purpose?
database: If I am trying to find a specific field in one table contained in a database… what do I do?
There are several questions… but could someone direct me to a tutorial that will not assume that I can read between the lines??? I can do the “Hello World” level things with PHP, but even really low level registration scripts seem to assume that I understand these things and really… I swim like a rock.
many thanks,
Paul