Site Panel Help User Panel Help Panel Demo's Search Help

Categories

· Show all categories

· New Customer FAQs
· E-Mail
· FTP - File Transfers
· Domains
· SSH and Telnet
· Scripting Languages
  · Php - Dynamic Pages
· Password Protection
· MySQL
· Stats
· Power Tools

· FAQ Home

· EchoEcho+ Support

Php - Dynamic Pages: How do I connect to mySQL with php?
If your username is "testuser" and your mySQL password is "test2test" you can connect to your databases like this:

$link = mysql_pconnect("localhost","testuser","test2test");

You can learn more about php's mySQL functions at:
http://php.net/manual/en/ref.mysql.php

You can read the official MySQL tutorial at:
http://www.mysql.com/documentation/mysql/bychapter/manual_Tutorial.html

MySQL FAQ's are avilable at:
http://www.faqts.com/knowledge_base/index.phtml/fid/52

Last update: 12.07.2009, 21:16
Author: EchoEcho Support

printer-friendly version Send to a friend
Show this as PDF file export as XML-File

Average rating: 0 from 5 (0 Votes )

Please rate this entry:
completely
useless

1

2

3

4

5
most
valuable
You cannot comment on this entry | Content Overview: Php - Dynamic Pages
Copyright © EchoEchoPlus Hosting