View Single Post
Old 02-01-2007, 09:27 AM  
xenilk
Confirmed User
 
xenilk's Avatar
 
Join Date: Jan 2006
Location: Canuck land!
Posts: 921
$value = $_POST['value'];
$query = sprintf("UPDATE wp_user SET field1 = 'whatever goes here' WHERE field2 = '%s'",
mysql_real_escape_string($value));
mysql_query($query);

Query could be changed/adapted to your needs.
xenilk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote