News:

Please note these forums are mostly a testing ground for my SMF work and I don't really use them otherwise.

Main Menu

Paste-1218516258:v:use_geshi-1:v:type-php

Started by Guest, Aug 12, 2008, 04:44 AM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

Guest

if($ohostname != $hostname){
mysql_query("UPDATE SOLARmb_plans SET hostname='$ohostname' WHERE id='$planid'");

mysql_query("UPDATE SOLARmb_ips SET hostname='$ohostname' WHERE hostname='$hostname' && hostnode='$hostnode' && custid='$custid'");

}

Guest

if($ohostname != $hostname){
mysql_query("UPDATE SOLARmb_plans SET hostname='$ohostname'
WHERE id='$planid'");

mysql_query("UPDATE SOLARmb_ips SET hostname='$ohostname'
WHERE hostname='$hostname' && hostnode='$hostnode' && custid='$custid'");

}

Guest

if($ohostname != $hostname){
mysql_query("UPDATE `SOLARmb_plans` SET `hostname`='$ohostname'
WHERE `id`='$planid'");

mysql_query("UPDATE `SOLARmb_ips` SET `hostname`='$ohostname'
WHERE `hostname`='$hostname' && `hostnode`='$hostnode' && `custid`='$custid'");

}