Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Connecting php file to mysql database locally
Google
Post new topic Reply to topic
Author Message
Michael
 
 


Joined: 11 Dec 2005
Posts: 9

PostPosted: Thu Dec 15, 2005 7:44 pm Reply with quoteBack to top

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
View user's profileSend private message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Sun Jan 08, 2006 3:50 pm Reply with quoteBack to top

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
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT