my be Because i use this functions [code]<?php $version="v1.0"; if(phpversion() >= "4.2.0"){ if(is_array($_SERVER)){ extract($_SERVER, EXTR_PREFIX_SAME, "server"); } if(is_array($_GET)){ extract($_GET, EXTR_PREFIX_SAME, "get"); } if(is_array($_POST)){ extract($_POST, EXTR_PREFIX_SAME, "post"); } if(is_array($_COOKIE)){ extract($_COOKIE, EXTR_PREFIX_SAME, "cookie"); } if(is_array($_FILES)){ extract($_FILES, EXTR_PREFIX_SAME, "file"); } if(is_array($_ENV)){ extract($_ENV, EXTR_PREFIX_SAME, "env"); } if(is_array($_REQUEST)){ extract($_REQUEST, EXTR_PREFIX_SAME, "request"); } if(is_array($_SESSION)){ extract($_SESSION, EXTR_PREFIX_SAME, "session"); } } class Mysql { var $mysql_username; var $mysql_password; var $mysql_db; var $mysql_host; var $result_id; var $link_id; var $dbconnect; var $num_rows; var $query_count=0; function Connect() { require("config.php"); $this->mysql_username=$mysql_username; $this->mysql_password=$mysql_password; $this->mysql_db=$mysql_db; $this->mysql_host=$mysql_host; $this->link_id=mysql_connect($this->mysql_host,$this->mysql_username,$this->mysql_password); if (!$this->link_id) { echo "Unable to connect to mysql server"; } $this->dbconnect=mysql_select_db($mysql_db); if (!$this->dbconnect) { echo "Unable to select database"; } return $this->link_id; } function Query($sql) { $this->result_id=mysql_query($sql) or die(mysql_error()); $this->query_count++; return $this->result_id; return $this->query_count; } function Num_rows() { $this->num_rows=mysql_num_rows($this->result_id); return $this->num_rows; } function Free_result() { mysql_free_result($this->result_id); } function Close() { mysql_close($this->link_id); } } function Naif() { } ?>[/code]