我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

too long

Below is the code of php which is not working.

<?php
if($_POST[submit]=='Save' || strlen($_POST['testid'])>0)
{
  extract($_POST);
  mysql_query("insert into mst_deff(test_id,sub_id,deff_que,ans) values ('$testid','$subid','$addque','$ans')",$cn) or die(mysql_error());
  echo "<p align=center>Question Added Successfully.</p>";
  echo "hi";
  unset($_POST);
}
?>

i have used echo statement for debugging but it is not showing on the screen that means the if part is not working.

近期文章

  • 我安装了一个婚姻脚本,当我收到电子邮件中的确认链接时,它不会转到个人资料页面
  • 使用curl发布存储在变量中的json数据
  • 从PHP代码发送电子邮件时出错
  • 在IIS中如何使用apache htaccess详细信息
  • php spl_autoload_register redaclare
  • 如何做高级sql表比较
  • PHP显示在safari上由sql加载的blob图像
  • PHP脚本挂起的大型数据集
  • 我怎么能在java中找到php md5(sha1(“test”))
  • 如何修复插入问题到数据库?
  • MySQL排名,无法让它正常工作
  • 为什么我的html5lib用不了?
  • 个人关于符号“/”的一些小问题
  • python -m visdom.server时遇到报错 求助解决
  • 帮助从数据库中提取当前记录的用户ID和名字
  • 在curl中获取指定数组
  • 仅显示数组中的第一个索引(PHP)
  • 类型转换不适用于Blade Directives
  • 使用'now()'格式化存储在数据库中的时间
  • api中的条件返回数据库错误

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华