$ss="sssssss";
$sql=update table set 字段=字段.'$ss' where id=1;
$sql=update table set 字段=字段.'$ss' where id=1;
解决方案 »
- 求代码,菜鸟入门篇,,不堪感激高手,,在线等
- 正则 剔除HTML注释块
- 问一个php采集规则问题
- 为什么我用simplexml_load_file就出错,我用的是php 5.2.5 版本,是这个版本不支持该功能,还是别的原因。谢高手帮助。
- 怎样将php里的汉字字符串分割成单个字符?
- 问题
- 用PHP程序连接异地Mysql数据库的问题?怪!
- php如何调用linux的系统命令!
- 使用thinkPHP有一个搜索怎么用link进行模糊查询
- wordpress里写个插件,想弄个全局变量给插件用
- 救命啊。。。高分求解决方案,高手请进。。
- 关于 Header ("Location:http://www.163.com")跳转问题
$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());