1 rizwank 1.1 <?php
2 require "./inc/head.php";
3
4 $safety = get_magic_quotes_gpc();
5 $gn = ($safety) ? $_REQUEST['gn'] : mysql_real_escape_string($_REQUEST['gn']);
6 $uid = $_REQUEST['uid'];
7
8 mysql_query("UPDATE $utbl SET gName='$gn' WHERE id = $uid") or die(mysql_error());
9
10 header("Location: user-profile.php?m=3");
11
12 ?>
|