Location: PHPKode > scripts > Line Chart Script > hlinechart/create.php
<?php
 
 if(mysql_select_db("$dbname",$link)) 
  {
        
         $table="create table $tablename(id int(10),xvalue varchar(20),yvalue int(20))"; 
          $tab=mysql_query($table);
         if($tab)
         {
         $fields="insert into $tablename values(1,'2006',100),(2,'2007',250),(3,'2008',500),(4,'2009',400)";
          $res=mysql_query($fields);
           
         
         }
  }


?>
Return current item: Line Chart Script