ob_start(); session_start(); include("includes/dbconfig.php"); if(!isset($_REQUEST['page_samples'])) { $qGetalerts = "SELECT profile_alerts FROM pro_users where user_id='".$_REQUEST['user_id']."' "; $resalerts = getSqlQuery($qGetalerts); $count_alerts=mysql_fetch_array($resalerts); $count_alerts_new=$count_alerts['profile_alerts'] + 1; //echo $count_alerts_new; //echo "Update pro_users set profile_alerts='$count_alerts_new' where user_id='".$_REQUEST['user_id']."' ";exit; $update_alerts=mysql_query("Update pro_users set profile_alerts='$count_alerts_new' where user_id='".$_REQUEST['user_id']."' "); } $selutype=mysql_query("Select * from pro_users where user_id='".$_REQUEST['user_id']."'"); $rowutype=mysql_fetch_array($selutype); $uname=$rowutype['fname'].''.$rowutype['lname']; $_SESSION['link']='http://www.hotprofolio.com/viewsamples.php?user_id='.$_REQUEST['user_id'].'&type='.$_REQUEST['type'].'&name='.$uname; //echo $_SESSION['link']; ?>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|