设为首页  
联系我们  
加入收藏  
网页制作 冲浪宝典 图形图像 操作系统 软件教学 编程开发 认证考试 安全技术 站长专区 文学驿站 娱乐天地 游戏天地 办公软件
文章搜索
您的位置: 首页 >> 文章首页 >> 编程开发 >> 网络编程 >> PHP教程 >> 动态网页技术PHP通过参数来生成MYSQL语句类
精品推荐
PHP教程点击TOP10
·apache+mysql+php+ssl服务器之完全安装攻略
·实例研究PHP函数isset和empty的区别
·绝对简单易学的PHP入门教程
·PHP面向对象编程快速入门
·十天学会php之第一天
·Windows下PHP5和Apache的安装与配置
·PHP4在WinXP下IIS和Apache2服务器上的安装实例
·Win9x/ME下Apache+PHP安装配置
·Win2003下APACHE+PHP5+MYSQL4+PHPMYADMIN 的简易安装配置
·Windows下的PHP5.0安装配制详解
网络编程点击TOP10
·ASP.NET 程序中常用的三十三种代码
·CHK文件恢复工具
·.NET 初 级 读 本
·c#操作word表格
·我的.NET书架 (入门篇)
·『原创』C#中TreeView类操作全攻略:建立树,新增节点,删除节点,修改节点,拖动节点,与Oracle数据库交互操作(一)
·从零开始学ASP.NET(基础篇)
·用C#实现木马程序
·十天学会ASP.net之第一天
·官方水晶报表 .NET 应用程序实例下载 (C#、Visual C++.NET)
精选专题

动态网页技术PHP通过参数来生成MYSQL语句类

作者: 来源:http://www.xgdown.com/ 时间:2007-7-30 12:26:32

动态网页技术PHP通过参数来生成MYSQL语句类(11)    {
   if ( eregi ( " WHERE " , $this -> Result)){ $this -> Result .= " AND " . $this -> ResultSearch;}
   else { $this -> Result .= " WHERE " . $this -> ResultSearch;}
   }
   }
   if ( $this -> getOrder())
   {
   if ( ! $this -> BuildOrder()){ $this -> dbgFailed( $funct ); return ;}
   $this -> Result .= " " . $this -> ResultOrder;
   }
   if ( $this -> getSort())
   {
   if (@ $this -> ResultOrder)
   {
   $this -> Result .= " " . $this -> getSort();
   }
   }
  
   return true ;
   }
  
   function getCondition(){ return @ $this -> Condition;}
   function getConditions(){ if ( count (@ $this -> Conditions) && is_array (@ $this -> Conditions)){ return @ $this -> Conditions;}}
   function getFields(){ if ( count (@ $this -> Fields) && is_array (@ $this -> Fields)){ return @ $this -> Fields;}}
   function getLeftJoin(){ if ( count (@ $this -> LeftJoin) && is_array (@ $this -> LeftJoin)){ return @ $this -> LeftJoin;}}
   function getOrder(){ return @ $this -> Order;}
   function getSearch(){ return @ $this -> Search;}
   function getSort(){ return @ $this -> Sort ;}
   function getTables(){ if ( count (@ $this -> Tables) && is_array (@ $this -> Tables)){ return @ $this -> Tables;}}
   function getValues(){ if ( count (@ $this -> Values) && is_array (@ $this -> Values)){ return @ $this -> Values;}}
  
   function setCondition( $input ){ $this -> Condition = $input ;}
   function setConditions( $input )

共12页 9 7 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [128 :>

动态网页技术PHP通过参数来生成MYSQL语句类 相关文章:
动态网页技术PHP通过参数来生成MYSQL语句类 相关软件:
特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。
转载请注明来源:http://www.xgdown.com