本帖最后由 wontao 于 2011-12-31 19:13:32 编辑

解决方案 »

  1.   

    $sql = mysql_query('insert into `site` (title,keywords,description,url,content,level) value ("'.addslashes($title).'","'.addslashes($keywords).'","'.addslashes($description).'","'.addslashes($url).'","'.addslashes($content).'","'.addslashes($level).'")');
    $sql = mysql_query('UPDATE `site` SET title="'.addslashes($title).'",keywords="'.addslashes($keywords).'",description="'.addslashes($description).'",url="'.addslashes($url).'",content="'.addslashes($content).'",level="'.addslashes($level).'" where id="'.$reid.'"');
      

  2.   

    大哥,我错了,加了真的好使!感激不尽!加分感谢,虽然不知道CSDN积分有啥用