PHP菜鸟编程问题

来源:百度知道 编辑:UC知道 时间:2024/05/15 06:32:48
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><? echo "hello world" ?></title>
</head>

<body>
<? echo "hello"; ?>
</body>
</html>
请问我这段在dreamweaver中的代码有错误吗?
如果没错为什么预览时看不到 hello

完全可以运行,没错!
晕哦!问的确实不清楚!
代码这么简单,肯定不会错的!

晕死,我以为你是在地址栏内输入了localhost/xxx.php,好嘛,这个预览是DW的预览呀-____-!
地址栏内"预览"吧
呵呵,祝你好运:)

显然有问题...dreamweaver 基本上只能看到纯的HTML