ob_start(); session_start(); //$_SESSION['userid_profile']=$_REQUEST['user_id']; $_SESSION['type']=$_REQUEST['type']; $_SESSION['profolio_name']=$_REQUEST['name']; include("includes/dbconfig.php"); $ok=$_REQUEST['ok']; if($ok=="del") { $del_id=$_REQUEST['del_id']; mysql_query("delete from pro_users_samples where auto_id='$del_id'"); header("location:viewsamples1.php"); exit; } $qGetsamples = "SELECT * FROM pro_users_samples where user_id='".$_SESSION['user_id']."' "; $ressamples = getSqlQuery($qGetsamples); //echo $resrec;exit; $total_samples=getSqlNumber($qGetsamples); // if($total_samples==0) // { // header("location:professional_details.php?user_id=$_SESSION[userid_profile]&page=results_search"); // } $count=0; //echo $_SERVER['REQUEST_URI'];exit; $url="http://".''. $_SERVER['HTTP_HOST'] .''. $_SERVER['REQUEST_URI']; $_SESSION['link']=urlencode($url); //echo $url;exit; ?>
|
|||||||||||||||||||||||||||||||||||||||
|
|