问两个初级问题,希望帮忙,明天一定结贴! 数据库用的sql server------------拜托,用mssql_函数去连,不要用mysql 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 1、既然是“数据库用的sql server”,那么怎么用mysql的函数呢?2、switch($_POST['按钮对象名']) { case "1增加": include "aa.php"; break; case "2 详细内容": include "bb.php"; break; case "3 查询": include "cc.php"; break; default: echo "请选择...";} 前两个问题都解决了,我就回答第三个吧:代码:<script language="JavaScript">function reg(){//打开xxry.php;window.location.href="xxry.php";}</script><fieldset><legend>添加服务中心</legend><table cellspacing="0" cellpadding="0" style="margin: 5px;"><tr><td colspan="2" height=20></td></tr><form action="adok.php" name="form1" method="POST" ><tr> <td align="right">省:</td> <td> <input type="text" name="sheng" class="textInput" maxlength="6" style="width:20;"> </td><tr> <td align="right">服务机构总人数</td> <td> <input type="text" name="zrs" class="textInput" style="width: 80;"> </td></tr><tr><td colspan="2" height=8></td></tr><input type="submit" name='rd1' value="添加"><input type="button" name='rd2' value='详细人员状况' onClick="reg();" >// 这里怎么打开xxry.php</td></tr></form></table></fieldset></body> 1\告诉我无法连接服务器127.0.0.13 不能打开addok.php希望高手指点,mssql上面写法有什么错误??等待中 数据库用的sql server,但是你用的数据库操作函数都是MYSQL的。会不出错吗? php 如何处理 1970前时间 时间戳失效了 小妹求救-如何给文章添加评论--php 求一个sql语句,进来看看谢谢 socket网络编程 到底是什么东东? 怎么把一个exe功能放到php做的网站中 请教PHP达人socket问题! 卡巴斯基杀毒软件影响php运行,太不可思义了 php使用持续连接,Apache停止服务的时候会出现错误提示 如何从页面多选框选择出一个数组,没学过php.需要用,在线等 正则的问题 如何确定当前目录? 教高手,何处可以下载apache_2.0.48-win32-x86-no_ssl.msi,我试过www.apeche.org,但没能找到,请高手指点
switch($_POST['按钮对象名']) {
case "1增加":
include "aa.php";
break;
case "2 详细内容":
include "bb.php";
break;
case "3 查询":
include "cc.php";
break;
default:
echo "请选择...";
}
代码:
<script language="JavaScript">
function reg(){//打开xxry.php;
window.location.href="xxry.php";
}
</script>
<fieldset>
<legend>添加服务中心</legend>
<table cellspacing="0" cellpadding="0" style="margin: 5px;">
<tr><td colspan="2" height=20></td></tr>
<form action="adok.php" name="form1" method="POST" ><tr>
<td align="right">省:</td>
<td>
<input type="text" name="sheng" class="textInput" maxlength="6" style="width:20;"> </td>
<tr>
<td align="right">服务机构总人数</td>
<td>
<input type="text" name="zrs" class="textInput" style="width: 80;">
</td>
</tr><tr><td colspan="2" height=8></td></tr>
<input type="submit" name='rd1' value="添加">
<input type="button" name='rd2' value='详细人员状况' onClick="reg();" >// 这里怎么打开xxry.php
</td></tr>
</form>
</table>
</fieldset>
</body>
3 不能打开addok.php希望高手指点,mssql上面写法有什么错误??等待中