<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<title>Insert title here</title>
</head>
<body bgcolor="white">
<strong></strong>
<?php echo "Hello, World!";?>
<br>
Simple, huh?
</body>
</html>
请问PHP是这样写的吗....
后缀名保存为 .html 还是 .php 在tomcat上测试吗..
为什么输出的是Simple, huh? 而 helloworld没输出...
我是做JAVA的现在想看一下PHP人家都说技术路上没有终点...走的每一步都要为下一步做好准备..
所一想多学习一下..
请教高手指点一下..
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<title>Insert title here</title>
</head>
<body bgcolor="white">
<strong></strong>
<?php echo "Hello, World!";?>
<br>
Simple, huh?
</body>
</html>
请问PHP是这样写的吗....
后缀名保存为 .html 还是 .php 在tomcat上测试吗..
为什么输出的是Simple, huh? 而 helloworld没输出...
我是做JAVA的现在想看一下PHP人家都说技术路上没有终点...走的每一步都要为下一步做好准备..
所一想多学习一下..
请教高手指点一下..
ps,<strong></strong>是用来做什么的?
php 是这样写的,后缀为 .php,请在 apache 测试,你需要先安装配置 php 没有 helloworld,是因为 tomcat 不认识 <?php xxxx ?>俺想往 java 转了围城啊。