Login   Register  
PHP Classes

File: connection.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 3 years ago
Size: 246 bytes


Class file image Download
$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());