Hi,
The following is what I'm currently using...
if ($POST['id'] != $member['id']) {
$query ="UPDATE $MemberTable SET id = '$POST[id]' WHERE id = '$member[id]'";
result = mysql_query("$query");
$query ="UPDATE $IntroTable SET id = '$_POST[id]' WHERE id = '$member[id]'";
$result = mysql_query("$query");
$query ="UPDATE $StatsTable SET id = '$_POST[id]' WHERE id = '$member[id]'";
$result = mysql_query("$query");
$query ="UPDATE $MetaTable SET id = '$_POST[id]' WHERE id = '$member[id]'";
$result = mysql_query("$query");
}
As I'm updating the same field in each table I believe I should be able to do this update all in one query using a JOIN, the only problem is I've read the manual, gone through my 2 books on MySQL and I still can't get it to work.
Can any one offer some advice to a budding php/mysql'er?
Thanks
JeNNiDeS