I'm using 5.1.41-3ubuntu12.10 for my MySQL version.
UPDATE profiledata SET aboutyou = '$aboutyou', quotes = '$quotes' WHERE uid = '$sess_uid' and
UPDATE profileprivacy SET aboutyouPrivacy = '$aboutyouPrivacy', quotesPrivacy = '$quotesPrivacy' WHERE uid='$sess_uid' $sess_uid is the same for both. I was wondering if I could combine both MySQL queries into one mysql_query.
I was thinking it would be something like SET profiledata.aboutyou = 'Just a developer.', not really sure.
mysqli::multi_queryphp.net/manual/en/mysqli.multi-query.php to send a single command to the server versus two separate calls, assuming your PHP install supportsmysqli.