Greetings
I'm trying to get the information from one field to update to the same field in other records with the same user ID.
This is what I have so far but it doesn't seem to work for every field.
Any suggestions?
$result=mysql("$DBName","SELECT Age FROM Data WHERE UserID='$UserID'");
while ($row=mysql_fetch_row($result)) {
$DB=$row[0];
}
mysql("$DBName","UPDATE Data SET Age='$DB' WHERE UserID='$UserID'");