Joined: Tue Mar 27, 2007 10:55 pm Posts: 2279 Location: Earth Has thanked: 39 time Have thanks: 61 time
Example of update query .
Code:
function update_ban_of_user($username,$banned) { $query="update user set banned='$banned' where username='$username'"; $result=mysql_query($query) ; echo mysql_error(); return mysql_affected_rows(); }
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )