知识点 词汇表 联系我们
按类别浏览
内容搜索    
当前位置:WEB开发技术知识库(www.cn-web.com) .: PHP技术 .: 基础教程

基础教程

基础教程

分页:   1   2   3   4  

本类别共57篇文章   15篇/页   共4页

article php中ceil函数与floor函数
PHP中ceil()函数,可以取得大于或者等于参数的整数,即可不小于参数的整数: 实例: <?phpecho ceil ( 4.3 ); // 5echo ceil ( 9.999 ); // 10?> ...

(No rating)  12-5-2007    Views: 116   
article PHP操作MYSQL数据库之取数据库名和表名
取数据库名和表名(2个): 1、mysql_list_dbs()   格式: int mysql_list_dbs(int link_identifier);   取得所有可用的数据库名(database name)。      例子:...

(No rating)  11-25-2007    Views: 170   
article PHP操作MYSQL数据库之数据库信息查询函数
数据库信息函数(2个):      1、mysql_fetch_field()   格式:object mysql_fetch_field(int query , int [field_offset]);   ...

(No rating)  11-25-2007    Views: 139   
article PHP操作MYSQL数据库之数据库级database的操作函数
数据库级database的操作函数(2个): 1、mysql_create_db()   格式:int mysql_create_db(string database name , int link_identifier);   ...

(No rating)  11-25-2007    Views: 146   
article PHP操作MYSQL数据库之数据库记录操作函数
数据库记录操作函数(5个):      1、mysql_fetch_array()   格式:array mysql_fetch_array(int query);   ...

(No rating)  11-25-2007    Views: 210   
article PHP操作MYSQL数据库之SQL查询函数
SQL查询函数(2个):      1、mysql_query()   格式:int mysql_query(string sqlquery , int link_identifier);...

(No rating)  11-25-2007    Views: 128   
article PHP操作MYSQL数据库之选择数据库函数
选择数据库函数(1个):      mysql_select_db()   格式:int mysql_select_db(string database name , int link_identifier);   选择指定的database name...

(No rating)  11-25-2007    Views: 133   
article PHP操作MYSQL数据库之数据库连接与关闭
连接数据库服务器的函数共2个:  (1).mysql_connect()   格式:int mysql_connect(string [hostname] [:port],string [username],string [password]);   ...

(No rating)  11-25-2007    Views: 259   
article PHP中字符串的过滤验证函数
PHP中字符串的过滤验证函数 ctype_alnum -- Check for alphanumeric character(s) 检测是否是只包含[A-Za-z0-9]ctype_alpha -- Check for alphabetic character(s) 检测是否是只包含[A-Za-z]ctype_cntrl --...

(No rating)  11-23-2007    Views: 246   
article php中编程命名规则
php中编程命名规则 类命名 在为类(class )命名前首先要知道它是什么。如果通过类名的提供的线索,你还是想不起这个类是什么 的话,那么你的设计就还做的不够好。 ...

(No rating)  11-17-2007    Views: 157   
article php与javascript之间传递变量
实例代码: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>Untitled</title> <script language="JavaScript"> ...

(No rating)  11-17-2007    Views: 233   
article Apache httpd.conf配置详解
apache 中目录禁止php功能<directory "d:/web/test"><files ~ ".php">order allow,denydeny from all</files></directory>apache...

(No rating)  11-1-2007    Views: 738   
article php中的addslashes、stripslashes、魔术引号(字符串转义)小解
string addslashes ( string str)返回字符串,该字符串为了数据库查询语句等的需要在某些字符前加上了反斜线。这些字符是单引号(\')、双引号(\")、反斜线(\\)与 NUL(NULL...

(No rating)  10-21-2007    Views: 384   
article php中实现.net中的反射功能(call_user_func_array)
.net中可以动态的在编译时获取要调用的函数,php中用call_user_func_array函数也可以实现: 代码: <?phpfunction test0(){echo("没有参数");} function test1($a){echo("一个参数");} function...

(No rating)  10-21-2007    Views: 289   
article php中类似.net的错误抛出函数trigger_error()
错误抛出函数trigger_error() 举例: <?phpif (assert($divisor == 0)) {    trigger_error("0不能被除", E_USER_ERROR);}?>

(No rating)  10-21-2007    Views: 225   
分页:   1   2   3   4  

本类别共57篇文章   15篇/页   共4页


网站地图 - 知识词汇 - 全文检索 - 广告服务 - 帮助中心 - 联系我们
.:www.cn-web.com
网站技术开发联盟之WEB开发技术知识库
联系人:老韩(QQ:5679551)
晋ICP备07003487号