Your IP : 10.1.73.149


Current Path : /home/bolconlineco/www/aaaaaa/admin/
Upload File :
Current File : /home/bolconlineco/www/aaaaaa/admin/edit_sport.php

<?php

include('../includes/connection/func.inc.php');  
  if(isset($_POST['submit']))
  
    {
	 
	  $title = sql_strip($_POST['title']);
      
	  $CStatus = $_POST['CStatus'];
	  
	  $id= $_POST['spid'];
	  
	  $query="update sportmaterials set title='$title',st='$CStatus' where id='$id'";
	  mysql_query($query) or die(mysql_error());
	   header("location:suportmaterials.php?msg=updated Sucessfully");
	   exit();
	 }

?>