This is a discussion on Php within the Linux software forums, part of the Linux Getting Started category; I have made a smal php page registration page. and also created a database in MYSQL, now when I try ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
I have made a smal php page registration page. and also created a database in MYSQL, now when I try to enter in the php page it should go to mysql database. However, it is not working any help on this will be greatly appreciated.
|
| Sponsored Links | ||
|
|
|
|||
|
A database is a file in a database server. A database usually runs as a localhost 127.0.0.1 when operating with a web server.
The database server is a usually a background program as a service called a Daemon. MySQL usually runs with the port number 3306 as default. So you need to open a link() to the database in php for 127.0.0.1:3306 Then you send your query as a GET request using the special link() method/function in php. You can "querystring" on the end of the lnk url or use the construction methods that convert the straight syntax(the easier action) of your SQL query. |