Tuesday, 20 August 2013

Whats wrong with my mySQL_query?

Whats wrong with my mySQL_query?

When I use the query below, it only updates if the new value is shorter
than what was originally there, anyone know why this is?
mysql_query("UPDATE users SET first_name='$first_name',
last_name='$last_name', email='$email', bio='$bio' WHERE id='$id'");

No comments:

Post a Comment