By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,890 Members | 1,048 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,890 IT Pros & Developers. It's quick & easy.

Want to get old data

P: 28
dear all.....

$search_username=mysql_query("SELECT username FROM table");
$result=mysql_result($search_username,'0',username );
echo "Your user name is already exist";
$query="INSERT INTO.................";
<form action=thisform method=post>
<td><input type=text name=txtusername></td>
<td><input type=text name=txtpassword></td>
<td><input type=text name=txtconfirmpassword></td>
<td><input type=submit name=submit value=submit></td>

in above code when i press submit button...
if user name is already exist in my database.
i give a above message.. but user input old data in this username text box are clear... i don't want that.. So .. how can i get old days that the user typed. when user press submit button...
Mar 2 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 2.5K+
P: 4,258
I asked you in a privious thread post to enclose your code within code or php tags, as stated in the Posting Guiudelines.

You obviously refuse to do this. This means that I will not look at your code.

Mar 2 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.