<?php
require_once 'sys.class.php';
$reg = new Registration;
$reg->SetUsername("oran");
$reg->SetPassword("dsfsdfsdfg");
$reg->SetEmail("jjjs@sdsd.com");
$error = $reg->InsertUserToSql(); // see notes at the class
if(!empty($error['2']))
{
echo $error['2'];
}
?>
|