
May 6th, 2004, 10:25 AM
|
|
you know how we do
|
|
Join Date: Jun 2002
Posts: 788
Time spent in forums: 2 h 34 m 21 sec
Reputation Power: 8
|
|
Line 76 should be:
PHP Code:
$result = mysql_query("SELECT * FROM $table WHERE uid = '$uid' ");
Line 79 should be:
PHP Code:
$query="UPDATE $table SET name='$fullname',nickname='$nickname',birth='$birt h',address='$address',postcode='$postcode',country ='$country',gender='$gender',race='$race',language ='$language',status='$status',mobile_maker='$mobil e_maker',house='$house',transport='$transport',occ upation='$occupation',monthly_income='$monthly_inc ome',job_stud='$job_stud',education='$education',i nterest='$interest',leisure='$leisure',smoker='$sm oker',cc_usage='$cc_usage',if_cc_usage='$if_cc_usa ge',know_friend='$know_friend',last_update='".NOW()."' WHERE uid='$uid'";
Line 83 should be:
PHP Code:
$query="UPDATE $table2 SET email='{$_POST[email]}',homepage='{$_POST[homepage]}' WHERE uid='$uid'";
|