Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Su php problemele

Parašė weberiz· 2008 Spa. 7 09:10:28
#1

class db
{
   var $db_connection;
   var $query;
   var $db;

   //
   // This function opens a connection with the mysql database
   //
   function db($host, $user, $passwd, $database)
   {
      $this->mysql2.bendras.com = $host;
      $this->useris = $user;
      $this->slaptazodis = $passwd;
      $this->databesee = $database;

      $this->db_connection = @mysql_connect($this->host, $this->user, $this->pass) or die(mysql_error());




man meta errora ant sitos linijos
      $this->mysql2.bendras.com = $host;



ja koks errors
Parse error: syntax error, unexpected '=' in /wom.xz.lt/includes/db.inc.php on line 30

prasau padekit zmogui nesuprantu kas cia blogai gal galit paaiskint?