显示网页结果 [英] show webpage result
本文介绍了显示网页结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试获取一个网页,以便在图片的alt中显示其结果(单行)这是'我的代码:
< img src = medal.gif height = 16 width = 16 align = absmiddle ALT ="< ;? $ rank = fopen(" http://mersenne.org/cgi-bin/primenet_user.pl?UserID = eep"," r"); echo" $ rank";?>">
我得到的只是资源ID#2。我究竟做错了什么? :/
I am trying to get a webpage to show its results (a single line) in an image''s "alt" tag.
Here''s my code:
<img src=medal.gif height=16 width=16 align=absmiddle alt="<? $rank=fopen("http://mersenne.org/cgi-bin/primenet_user.pl?UserID=eep","r");echo "$rank";?>">
All I get is "Resource id #2". What am I doing wrong? :/
推荐答案
rank = fopen(" http://mersenne.org/cgi-bin/primenet_user.pl?UserID = eep", " r"); echo"
rank=fopen("http://mersenne.org/cgi-bin/primenet_user.pl?UserID=eep","r");echo "
rank";?>">
我得到的只是资源ID #2英寸;.我究竟做错了什么? :/
rank";?>">
All I get is "Resource id #2". What am I doing wrong? :/
*** Eep2写道/escribió(周一,2004年7月5日10:43:46 GMT):
*** Eep2 wrote/escribió (Mon, 05 Jul 2004 10:43:46 GMT):
< img src = medal.gif height = 16 width = 16 align = absmiddle alt ="<?
<img src=medal.gif height=16 width=16 align=absmiddle alt="<?
这篇关于显示网页结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文