PHP Classes

File: connection.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Arturs Sosins  >  Auto form  >  connection.php  >  Download  
File: connection.php
Role: Auxiliary script
Content type: text/plain
Description: Database connection for examples
Class: Auto form
Generate HTML forms to manipulate MySQL records
Author: By
Last change:
Date: 4 years ago
Size: 246 bytes


Class file image Download
= "db_name";
$user = "username";
$pass = "pass";
$serverlink = mysql_connect("localhost", $user, $pass) or die (mysql_error());
mysql_select_db($db) or die (mysql_error());
mysql_query('SET NAMES UTF8') or die (mysql_error());