摘要:
config.phpView Code <?phpsession_start();$conn=mysql_connect('localhost','root','');mysql_select_db('member',$conn);define(ALL_PS,"IPHP");function user_shell($uid,$shell,$m_id){ $sql="select * from user_list where `uid`='$uid'"; $query=m 阅读全文
posted @ 2012-10-08 14:50
andywonglxy
阅读(554)
评论(0)
推荐(0)
摘要:
View Code 1 <?php 2 //我是初学者 3 $row=array(array('新闻标题','新闻内容'),array('新闻标题2','新闻内容2'),array('新闻标题3','新闻内容3')); 4 foreach($row as $id=>$val){ 5 $title=$val[0]; 6 $content=$val[1]; 7 $path="a/$id.html"; 8 $fp=fopen("tmp.htm",&quo 阅读全文
posted @ 2012-10-08 14:40
andywonglxy
阅读(57)
评论(0)
推荐(0)

浙公网安备 33010602011771号