PHP毕业设计英文文献翻译(6)

2019-04-22 07:46

snippet follows; notice that the JavaScript has been left intact and untouched, but the PHP code has been evaluated. PHP ignores the JavaScript code completely:

As you can see, this code will cause JavaScript errors when executed. Be cautious when combining PHP and JavaScript code: It can be done, but it must be done with attention to the fact that the PHP will always be evaluated without regard for the JavaScript. To successfully combine the two, it?s generally necessary to output JavaScript code with PHP.

The following example does just that:

25

7 Running Your New Program

Following the same procedure outlined at the beginning of this article, try running this program.

Your program display “Hello, World!” in your browser.

26


PHP毕业设计英文文献翻译(6).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:趵突泉教学反思

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: