mardi 26 août 2014

how to use html in function of class?


Vote count:

0





how to use html in class function .I want to use html code in a class function.how can i do it.Should i need to use xml but i don't want to use xml in class .So please tell how can i use html in class.I html code is larger. error_reporting(E_ALL); /* user class for multiple user function */ class user{




private $host = '';

private $user = '';

private $passwort = '';

private $dbname = '';

private $last_injection = '';

private $conn_id = null;

public function __construct($host, $user, $password, $dbname)

{

$this->host = $host;

$this->user = $user;

$this->passwort = $password;

$this->dbname = $dbname;

$this->connect_mysql();

return($this->conn_id);

}


asked 40 secs ago







how to use html in function of class?

Aucun commentaire:

Enregistrer un commentaire