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

批改程序用户没有修改数据时不更新txt文件

修改程序 用户没有修改数据时不更新txt文件
再退回首页前,用户无论是否修改数据都要点保存,我设置了js提示,但是万一点错,数据就全没了,我想只在文件里写入修改的数据,若是判断数组的该值为空则不执行fwrite,但是行不通,求大牛之指教
error_reporting(4);
?>















$filename="AAPvaleurs.txt";
$file_hwnd=fopen($filename,"r");
$content = fread($file_hwnd, filesize($filename));
fclose($file_hwnd);
$AAP2 = unserialize($content);
?>
















































SegmentFunction2014  2015  2016  2017  2018 
PremiumProduct Line > > > > >
PremiumDesign > > > > >
ValueTechnology Eng > > > > >
ValueSimulation > > > > >
BaseIMDS > > > >