 |
Apache2Triad Help, Support and Development The apache2triad help , support and development forums
|
| View previous topic :: View next topic |
| Author |
Message |
Michael
Joined: 11 Dec 2005
Posts: 9
|
| Posted: Thu Dec 15, 2005 7:44 pm Post subject: Connecting php file to mysql database locally |
|
|
Hi all, I've recently installed A2T on my machine and have created a database using myphpadmin. Now I want to know if there may be a set of specific code that I need to connect a .php file to my database. The reason that I ask being that I'm aware that when databases are hosted on external servers then it is useful to find out how the hosting company configures their server and mysql. However because this is all being done locally....what it the required code to allow me to perform sql queries on the database?
Also another question regarding the database. I realise either the entire database or selected table can be exported in SQL format but how about uploading? I've been looking through the various options as a friend is wanting to look at a database that I've created but for the upload option it only ever gives the option of .html or .jpg I believe?
Many Thanks |
|
| Back to top |
|
Vlad Alexa Mancini
Joined: 07 Jul 2003
Posts: 1538
|
| Posted: Sun Jan 08, 2006 3:50 pm Post subject: |
|
|
Answer to your first question , yes the same , only variables like the hostname will differ
As for the second question it is just me or you said you want to upload a database in jpeg format ? usually formats are sql , cvs , xml , etc |
|
| Back to top |
|
| |
|