[PHP] Increase field value by 1 problem

2001-08-20 Thread HTTP-404
Hello I have Following code function updateHitCounter($id,$PHPSESSID,$type){ $flag=$this->validateSession($PHPSESSID); if($flag==1){ include("admin/config.inc.php"); $connection = mysql_connect("$host","$username","$password"); if ($connection == false){ echo mysql_errno().": ".mysql_error()."";

[PHP] Splitting 1 Colomn into 2

2001-08-26 Thread HTTP-404
Hello Thnx for your last replies, looks like i need more help with php now. I have this code: function displayCategory(){ include ('admin/config.inc.php'); $connection = mysql_connect ("$host", "$username", "$password"); if ($connection == false){ echo m