About 74 results: "mysql_query repo:fxrialab/spsp_editor"
Page 1 of 4
Filter Results
Sources
Languages
Filter Results
Try Search On







users_controller.php in spsp_editor https://bitbucket.org/fxrialab/spsp_editor | 1513 lines | PHP
  1. /*						echo $ins_user_det = "insert into user_details(`user_id`, `first_name`,`last_name`,`dob`,`email`) values('".$userId."','".$this->data['User']['first_name']."','".$this->data['User']['last_name']."','".$this->data['User']['dob']."','".$this->data['User']['email']."')";exit();
  2. */						$res_det = mysql_query($updatUserDet);
  3. 					$sql = "update `users` set `user_status` = '1' where `id` ='".$value."'";
  4. 					$res = mysql_query($sql);
  5. 		$qry="update `users` set `user_status`='1' where `id`='".$_REQUEST['id']."'";
  6. 		$res=mysql_query($qry);
  7. 				
  8. 				$userSave = mysql_query("insert into users(id, username, password, user_group_master_id, user_status) values('', '".$this->data['User']['username']."', '".base64_encode($this->data['User']['password'])."', '".$this->data['User']['user_group_master_id']."', '".$this->data['User']['user_status']."')");
  9. 					$qry = "INSERT INTO `user_details` ( `id` , `user_id`, `first_name`, `last_name`, `email`, `dob`, `c_id` )VALUES ('',".$id.",'".$fname."','".$lname."','".$email."', '".$dob."', ".$_REQUEST['country'].")" ;
  10. 					if($res = mysql_query($qry))
  11. 				$usrqry = "insert into users(id, username, password, user_group_master_id, user_status) values('', '".$this->data['User']['username']."', '".base64_encode($this->data['User']['password'])."', ".$this->data['User']['user_group_master_id'].", '".$this->data['User']['user_status']."')";
  12. 				$userSave = mysql_query($usrqry);
  13. 					echo $qry = "INSERT INTO `user_details` ( `id` , `user_id`, `first_name`, `last_name`, `email`, `dob`, `c_id` )VALUES ('',".$id.",'".$fname."','".$lname."','".$email."', '".$dob."', ".$_REQUEST['country'].")" ;
  14. 					if($res = mysql_query($qry))
  15. 				//echo $sql = "delete from `users` where `id` = '".$value."'";exit();
  16. 				$res = mysql_query($sql);













Back to Top