向同一PHP文件发送超过1个AJAX请求 [英] Sending more than 1 AJAX request to same PHP file

查看:85
本文介绍了向同一PHP文件发送超过1个AJAX请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何向同一PHP文件发送超过1个AJAX JQuery请求。



我不能这样说:



How I can send more than 1 AJAX JQuery request to same PHP file.

I cant put like this:

if(isset($_POST['value'])){}





它不会工作。



但如果我这样写:





It wont work.

But if I write it like this:

if(isset($_POST)){}





它会工作,我想发送超过请求。我怎么做?



It will work, I want to send more than request. How I can do that?

推荐答案

_POST [' 价值'])){}
_POST['value'])){}





它不会工作。



但如果我这样写:





It wont work.

But if I write it like this:

if(isset(


_POST)){}
_POST)){}





它会起作用,我想发送的不仅仅是请求。我怎么能这样做?



It will work, I want to send more than request. How I can do that?


这篇关于向同一PHP文件发送超过1个AJAX请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆