Hotline:15911225507
Long Xiao
Login
Home-All Questions-PHP-Main Content

PHP 和 Javascript 是如何交互的?

龙霄龙霄
PHP
3 years ago
0
0
2.54K

PHP 和 Javascript 无法直接进行交互,因为 PHP 是一种服务器端语言,而 Javascript 是一种浏览器语言。但是,我们可以交换变量,因为 PHP 可以生成将由浏览器执行的 Javascript 代码,并且可以通过 URL 将特定的变量传递回 PHP。

龙霄

龙霄

Lv1Vip2Rec2
以 Nuxt.js 之力,焕新 WordPress 体验
From: Course-PHP 教程, lesson-PHP 简介, Product-民族风新款手工盘扣冬装中式棉麻复古女士双层外套铜钱衣, Product-民族風新款手工盤扣冬裝中式棉麻復古女士雙層外套銅錢衣, Product-New Ethnic Style Handmade Button Winter Chinese Cotton Linen Vintage Women’s Double-Layer Coat with Copper Coin Buttons
13.98W1W
Loading...
Share:
Long Xiao
No answers yet, be the first?
我要回答
Accepted answer rewards 100 points
Long Xiao
Please login first