May 12th, 2008

给php新手的一个好东西

Category: 网站建设, Author: humker, Popularity: 1%

自己刚开始学,有些php变量用echo显示不了,就把它们写进文件。先在脚本的同目录下建立1.txt,然后在要检测的变量后面加上下面的小代码。

$fp=fopen("1.txt",'w');
fwrite($fp,$name);

简单的东西但是比较省事。

相关文章

Tags:.
评论数量(0) | Add Comments
本文网址:http://www.humker.com/2008/05/12/php-newpie/

There are No comments.

» You can leave a response or Trackback .

leave a reply