简体   繁体   中英

JavaScript array to php script on the same php file

如何将内部JavaScript数组结果传递给同一PHP文件中的内部PHP脚本?

PHP is executed before Javascript can be executed. PHP is server-side and Javascript client-side. (In normal case; disregarded node.js ...) You could use some GET or POST to reach what you want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM