数据库用的是sqlite $db=sqlite_open("sphpcms.sqlite");
    sqlite_query($db,"insert into sphp_news (title,content) values('".$title."','".$Content."');"); 

sqlite_close($db);
$step=2;
$smarty->assign('step',$step);
$smarty->display('mod_article.tpl');-------------------------------------------------------------------
$resultc=sqlite_query($dbc,"select id,title,content from sphp_news where id ='".$id."';");

解决方案 »

  1.   

    <input type="hidden" name="Content" value="asdffffffffffffffffffffffffffffffff<IMG src=\"http://localhost/Sphpcms/edit/uploadfile/20070128100644.jpg\">" />
    ===========
    你把type=hidden类型改为type=text,框内值显示是否正确?
    改一下试试
    <input type="hidden" name="Content" value="asdffffffffffffffffffffffffffffffff<IMG src='http://localhost/Sphpcms/edit/uploadfile/20070128100644.jpg'>" />
      

  2.   

    果真 将hidden 改成 text后Content 读出来的时候只有 <IMG src=\  这点剩下的在外面 :
    " size="45" /> 求解指点,在试
      

  3.   

    把value的双引号改成单引号,我一开始用的时候,也出这样的问题
      

  4.   

    草看一下上述代码,感觉在firefox下不能兼容,建议再深专研
      

  5.   

    是在firefox 下不行!yiwusuo高手交流下'草看'的大概理由!
    是传值的方式?