佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 798|回复: 5

php急救!!!

[复制链接]
发表于 11-4-2006 09:18 PM | 显示全部楼层 |阅读模式
如何做以下的东西?
--〉用户在click照片后那张照片的资料却在另一个windows展示。要怎么用php做呢?php新手请教各位专家.谢谢!
回复

使用道具 举报


ADVERTISEMENT

发表于 13-4-2006 09:45 AM | 显示全部楼层
用javascript 的windows.open来开另一个windows,
显示另一个page就行了。
回复

使用道具 举报

发表于 13-4-2006 11:40 AM | 显示全部楼层
try to put this code in <html> tag:

<a href= "http://www.yahoo.com" target="_blank"><img scr="sdf" border="1"></a>

or

<a href= "http://www.yahoo.com" target="_blank">Picture  description
回复

使用道具 举报

 楼主| 发表于 13-4-2006 02:02 PM | 显示全部楼层
如果用php作呢?我是要做一个dynamic page.因为不用dynamic page会弄到很多html的.
回复

使用道具 举报

发表于 13-4-2006 05:51 PM | 显示全部楼层
in fact, u can do it like this:


<html><body>
<a href="testing.php" target="_blank"><img scr="pic.jpg" border="1"></a>

<a href= "http://www.yahoo.com" target="_blank">Picture  description</a>
</body>
</html>

<? // here is ur php coding area
   // print something
  
echo "testing page";

?>




*** Then save it as main.php to test how's the result
note: u can have html tag n php code in .php file (of course u must save in .php then only can run the php code)
回复

使用道具 举报

 楼主| 发表于 14-4-2006 11:00 AM | 显示全部楼层
谢谢。。。我会用来作参考。
回复

使用道具 举报

Follow Us
您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 22-9-2024 01:38 PM , Processed in 0.100318 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表