MySql 代码
SELECT replace(replace(v.image_path,"\\","/"),"%s","_120") as image_path
FROM `artistkr_fox`.`phpfox_video` v;
我的phpfox服务文件查询字符串
$aVideos = $this->database()->select("REPLACE(REPLACE(v.image_path,'\','/'),'%s','_120') as image_path" . Phpfox::getUserField( )) ->from($this->_sTable, 'v') ->execute('getSlaveRows');
此查询无法返回任何值
此代码中的错误抛出“REPLACE(v.image_path,'\','/')”