PHP Classes

File: connect_mysql.php

Recommend this page to a friend!
  Classes of Charles Siegrist  >  FF Form  >  connect_mysql.php  >  Download  
File: connect_mysql.php
Role: Configuration script
Content type: text/plain
Description: My Sql connection data
Class: FF Form
Generate Web forms filling with data from MySQL
Author: By
Last change:
Date: 17 years ago
Size: 349 bytes


Class file image Download

= "localhost"; // Your mysql host
$user = "username"; // Your user name
$pass = ""; // Your password
$db ="db_name"; // Your database name

mysql_connect($host, $user, $pass)
or die(
"<b>Could not connect:</b>" .mysql_error());
or die (
"<b>Database could not be found:</b>" .mysql_error());

For more information send a message to info at phpclasses dot org.