PHP+MYSQL数据集处理 - PHP / 基础编程
1、是不是PHP中只能使用mysql_query("update user_aa set money=money2-".$bpanmm." where uid=".$userppp);更新数据???
2、PHP更新mysql_fetch_row($res)与mysql_fetch_array($res)中的数据后是不是自动更新到数据库???{{
相关问答:
我刚学习php请问,如果我把php文件上传至服务器后,例如http://www.****.com/cast.php这个文件会不会被别人下载或复制阿?
可以被下载,也可以不被下载,看web服务器对该文件权限的配置
看你对文件权限的设置
......
先上错误
无法联接数据库
java.sql.SQLException: Before start of result set
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
at com.mysql.jdbc.ResultSet.checkRowPos(ResultSet.java: ......
我已经按照教程上配置tomcat的server.xml
<Context path = "/POS" docBase = "POS" debug = "5" reloadable = "true" crossContext = "true" workDir = &quo ......
就是我在某个网页插入了一个php链接
我想获得那个网址地址地址栏的url而且要输出txt格式或其他格式。应该如何实现???
还有就是写入到.txt 文件里,怎么去判断是否重复。
$_sever[request_uri]
楼主给点分 ......
<?php
@session_start();
require_once './module/t_doctor.inc';
$t_doctor = new t_doctor();
if(isset($Submit)){
$sql="select * from t_doctor WHERE docname='".$usernam ......