hi
UPDATE flag FROM table_name SET flag=1 WHERE flag=0
if not suggest me
User Profile
Collapse
-
is this update query works
-
...Code:<?php include 'conifig.php'; $pass=md5($_POST[password]); $sql="INSERT INTO meconzee1_user VALUES ('','$_POST[firstname]','$_POST[lastname]','$_POST[middlename]','$_POST[radio]' ,'$_POST[loginname]','$pass', '$_POST[dateofbirth]','$_POST[address1]','$_POST[address2]','$_POST[state]','$_POST[city]','$_POST[country]','$_POST[pincode]','$_POST[mailid]','$_POST[answer1]','$_POST[answer2]','$_POST[answer3]')";Last edited by Atli; Feb 5 '10, 01:53 PM. Reason: Added [code] tags and replaced real email address with an example. -
thanx for your help but i am getting this error
Warning: mysql_fetch_arr ay(): supplied argument is not a valid MySQL result resource in
line 8
okay, no prob with login nameMail Sent.Error: Column count doesn't match value count at row 1Leave a comment:
-
how can i verify my login name if exists
hi
how can i check my login name in database from php page if it already exists
. so that i should not allow the same login name for another user . can any on help me with simple code
No activity results to display
Show More
Leave a comment: