<?php
@session_start();

include("config.php");

$ltr=$_POST[ltr];
$paytype=$_POST[paytype];
$mobile=$_POST[mobile];


/***********************************/
$mode = $_REQUEST[mode];
$flag = $_REQUEST[flag];


/***********************************/
$id=$_POST[id];
/***********************************/
	
        
    	  $query_update=sprintf("UPDATE record SET price='%s',pay_typ='%s' where id='%s' ",$ltr,$paytype,$id); 
	      if(!($result=mysql_query($query_update))){echo $query_update.mysql_error(); exit;}
	      header("Location:cusreporting.php?mobile=$mobile");exit;
		

?>
