$ss="sssssss"; $sql="update table set 字段=concat(字段,'$ss') where id=1";
$ss="ss"; Tsql='update m_topic_fg set description=concat(description,"$ss") WHERE topic_id=3501997'; mysql_query($Tsql,$mylink_m) or die(mysql_error()); 我写的没错吧
concat()函数是ms sql server2000中未提到的函数,很多教材中也没有提到,但是,可以在企业管理器里sql命令方式中使用,不能在查询分析器里使用. $ss="ss"; $Tsql="update m_topic_fg set description=concat(description,".$ss.") WHERE topic_id=3501997"; mysql_query($Tsql,$mylink_m) or die(mysql_error());不知道这样正确不?
$ss="ss"; Tsql="update m_topic_fg set description=concat(description,'$ss') WHERE topic_id=3501997"; mysql_query($Tsql,$mylink_m) or die(mysql_error());这样也没加上新内容
$ss = "ss"; $Tsql = "update m_topic_fg set description=concat(description, '$ss') WHERE topic_id=3501997"; mysql_query($Tsql, $mylink_m) or die(mysql_error());
$sql="update table set 字段=concat(字段,'$ss') where id=1";
Tsql='update m_topic_fg set description=concat(description,"$ss") WHERE topic_id=3501997';
mysql_query($Tsql,$mylink_m) or die(mysql_error());
我写的没错吧
$ss="ss";
$Tsql="update m_topic_fg set description=concat(description,".$ss.") WHERE topic_id=3501997";
mysql_query($Tsql,$mylink_m) or die(mysql_error());不知道这样正确不?
Tsql="update m_topic_fg set description=concat(description,'$ss') WHERE topic_id=3501997";
mysql_query($Tsql,$mylink_m) or die(mysql_error());这样也没加上新内容
$Tsql = "update m_topic_fg set description=concat(description, '$ss') WHERE topic_id=3501997";
mysql_query($Tsql, $mylink_m) or die(mysql_error());