if (strstr($_SERVER['HTTP_USER_AGENT'],"Chrome")) {$smsg="<br>Please Use IE";}
$_REQUEST['Log'] = str_replace(PHP_EOL, "<br>", $_REQUEST['Log']);
$oldDetail='/<span style="padding:4px;background:[a-zA-Z;]{3,12}">'.$v.'<\/span>/';
$newDetail='<span style="padding:4px;background:Red">'.$v.'</span>';
if ($red) { $detail=preg_replace($oldDetail,$newDetail,$detail); }    

UPDATE tool SET Symptom= REPLACE(Symptom,'a','b')
UPDATE log SET Status='Red' WHERE Status='Yellow' and (julianday('now')-julianday(Time))>14

标签: none

添加新评论