我让我的代码将$ test返回到ajax调用过程: $ - " />

||||||||| |将NULL值插入MySql记录。 我的页面使用ajax数据发送到php脚本。脚本获取的变量之一是:$ product_disc 现在,我在脚本中进行的一个小测试清楚地表明$ product_disc为null。考试: if ($product_disc == null) {$test=\\\"null\\\";} else {$test=\\\"not null\\\";} 我让我的代码将$ test返回到ajax调用过程: $

已邀请:

要回复问题请先登录注册