Location: PHPKode > projects > Tcpdb > tcpdb/user/query_edit_user.php
<?php

require '../config.php';
	
$user_id = $HTTP_GET_VARS["user_id"];
$username = $HTTP_GET_VARS["username"];
$password = $HTTP_GET_VARS["password"];
$fullname = $HTTP_GET_VARS["fullname"];


mysql_query("UPDATE user SET username = '$username' WHERE user_id='$user_id'"); 
mysql_query("UPDATE user SET password = '$password' WHERE user_id='$user_id'");
mysql_query("UPDATE user SET fullname = '$fullname' WHERE user_id='$user_id'");


require 'index.php';
?>
Return current item: Tcpdb