just curious havent you repeated the following twice ?
HTML Code:
==========================================================
[FIND]-->
homepage = '" . addslashes(htmlspecialchars_uni($homepage)) . "',
[REPLACE WITH]-->
homepage = '" . addslashes(htmlspecialchars_uni($homepage)) . "',
awaystatus = $xawaystatus,
awaymessage = '" . addslashes(htmlspecialchars_uni($xawaymessage)) . "',
awaysince = $xawaydate,
==========================================================