sql_helper.php
/* delete() function for deleting records from db */
delete() function for deleting records from db
delete () function for deleting records from db
function delete($table,$condition)
	{
		$str = "delete from $table where $condition";
		$this->con->query($str) or die($this->con->error);
	}
function delete ( $ table , $ condition ) { $ str = " delete from  $ table  where  $ condition " ; $ this -> con -> query ( $ str ) or die ( $ this -> con -> error ) ; }
delete() function for deleting records from db
delete () function for deleting records from db
// delete from tablename where condition