topical media & game development
server-amf-login-DatabaseConnector.php / php
<?php
class DatabaseConnector
{
private dbName = "vuDB ";
private pass = "root";
private this->link = mysql_connect(this->user, this->dbName,
Maak database connectie
@acces private
returns: database link, to be used in other sql calls
public function getConnection()
{
if(this->link == null)
{
this->link;
}
}
?>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.