Jump to content

connection of php script in dreamweaver to mysql


Recommended Posts

TO connect to mysql use mysql_connect:
[code=php:0]// this connects you to the mysql server
mysql_conncet('localhost', 'mysql_username', 'password_for_mysql_username');

// select the database to use
mysql_select_db('database_name_here');[/code]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.