日期:2014-05-17 浏览次数:20448 次
$Logi = file("./data/list.txt", FILE_IGNORE_NEW_LINES); //参数的作用是去掉换行符接受的程序中
foreach( $Logi as $Key => $Val ) {
list($num, $title) = explode ( "
------解决方案--------------------
" , $Val );
if($num){
echo $title;
?>
<form>
<p align="center"><input type="submit" value="评论" name="<?php echo $title ?>" /></p>
</form>
<?php
}