|
蓝森林 http://www.lslnet.com 2006年8月25日 8:28
[ASP]PHP的(echo $page_title;)语句转换为ASP怎么写?
请问,与PHP以下两个语句作用相当的ASP语句应该怎么写呢?
[code]
<?php echo $page_title; ?>//此句写在eng_all_plans.inc中部,很多页面调用它.
//譬如about.php页头的代码是:
#!/usr/bin/php
<?php $page_title = "About US"; require("includes/eng_all_plans.inc");?>
[/code]
请知道的朋友不吝赐教!多谢:) |
<!--#include file="includes/eng_all_plans.inc"-->
<%
page_title = "About US"
Response.Write page_title
%> |

多谢孤老师.
完整的写法是:
[code]
<%= page_title %>//此句写在eng_all_plans.inc中部,下面是具体页的:
<%
page_title = "Account Activation "
%>
<!-- #include file="includes/enu_all_plans.inc" -->[/code] |
|