sql_helper.php
/* insert() function for inserting records in db */
insert() function for inserting records in db
insert () function for inserting records in db
function insert($table,$fields,$values)
	{	
		$str = "insert into $table($fields) values($values)";
		$this->con->query($str) or die($this->con->error);
	}
function insert ( $ table , $ fields , $ values ) { $ str = " insert into  $ table ( $ fields ) values( $ values ) " ; $ this -> con -> query ( $ str ) or die ( $ this -> con -> error ) ; }
insert() function for inserting records in db
insert () function for inserting records in db