Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,198,720 members, 7,969,099 topics. Date: Monday, 07 October 2024 at 07:30 PM |
Nairaland Forum / Science/Technology / Webmasters / If Already Exist PHP (688 Views)
What Is The Future Of Everyknows Like Where Quora Exist / Google+ Nolonger Exist, Here Is How To Access Your Deleted Profile Information / Breaking News: Seun Osewa Does Not Exist (2) (3) (4)
If Already Exist PHP by skyhighweb(m): 7:39pm On Nov 29, 2017 |
hi every one, am having a bit of an issue in my already exist profile page. The thing is if a user checks his/her profile page to reedit their profile and click save the already exist code will kick in not allowing the user to save and showing the already exist error msg for the email instead of just ignoring and should only work if the user tries to change his/her email to another email that already exist to show the error hope u understand below is the code i wrote up funny thing the code works in a weird way if i try inserting the 1st email in the column that isnt mine i get already exist but if i try others it get updated $query = "SELECT email FROM " . $DBPrefix . "users WHERE id = id IN (SELECT id FROM " . $DBPrefix . "users THANKS |
Re: If Already Exist PHP by mokoshalb(m): 8:27pm On Nov 29, 2017 |
Are you trying to submit a form, but don't want to update the unfilled or untouched part? Enclose your codes in (I assume you are sending through POST): if(isset($_POST['email_name'])){ |
Re: If Already Exist PHP by SirLakes: 10:20pm On Nov 29, 2017 |
mokoshalb: Hi, can you help work on a phpbb site |
Re: If Already Exist PHP by mokoshalb(m): 11:53pm On Nov 29, 2017 |
SirLakes:modifications or installation. |
Re: If Already Exist PHP by SirLakes: 7:10am On Nov 30, 2017 |
mokoshalb:Need to add some features |
(1) (Reply)
$100 Per Day With Adsense Facebook Autopilot Method / Pharmacy Web Application System Management/set Up Live At YEMLAT / How I Learnt User Interface Design In 2 Months - My Journey
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10 |