输入banner图图片脚本导航/分类

php判断字符串是否存在php字符串检测代码

php判断字符串是否存

解决方法: 使用 === or !==

完整代码:

  1. if(stripos($sql, "insert") === 0){
  2. $excuteResult = mysql_query($sql);
  3. if($excuteResult){
  4. $sql = $sql2."where id = (select max(id) from subway2)";
  5. }
  6. } else if(stripos($sql, "delete") === 0 || stripos($sql, "update") === 0){
  7. if (strpos($foo, “my”)===0) { echo(‘I find!’);}