include("conf.php"); $cmdusr=mysql_query("select * from myjosh_user where email='".$_SESSION['email']."' and phone!='' and phone is not null and phone!='111111'") or die(mysql_error()); if(mysql_num_rows($cmdusr) >0) { ?> } if($_POST['submit']!='') { mysql_query("update myjosh_user set phone='".$_POST['phone']."' where email='".$_POST['email']."'") or die(mysql_error()); if($_SESSION['ssoid']!=''){ setcookie("ssouserid", $_SESSION['ssoid'], time()+3600); $_SESSION['uid']= $_SESSION['ssoid']; ?> }?> } ?>
© 2016 Josh Shop. All Rights Reserved.