Changeset 224 for branches/dev/data
- Timestamp:
- 2007/02/09 19:39:56 (19 years ago)
- File:
-
- 1 edited
-
branches/dev/data/class/SC_CustomerList.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/class/SC_CustomerList.php
r223 r224 90 90 //¡¡Ì¾Á°¡Ê¥«¥Ê¡Ë 91 91 if ( strlen($this->arrSql['kana']) > 0 ) { 92 $this->setWhere("(kana01 || kana02 LIKE ?)"); 92 if(DB_TYPE == "pgsql"){ 93 $this->setWhere("(kana01 || kana02 LIKE ?)"); 94 }elseif(DB_TYPE == "mysql"){ 95 $this->setWhere("concat(kana01,kana02) LIKE ?" ); 96 } 93 97 $searchKana = $this->addSearchStr($this->arrSql['kana']); 94 98 $this->arrVal[] = mb_ereg_replace("[ ¡¡]+","",$searchKana); … … 103 107 //¡¡ÅÅÏÃÈÖ¹æ 104 108 if ( is_numeric( $this->arrSql['tel'] ) ) { 105 $this->setWhere( "(tel01 || tel02 || tel03 LIKE ?)" ); 109 if(DB_TYPE == "pgsql"){ 110 $this->setWhere( "(tel01 || tel02 || tel03 LIKE ?)" ); 111 }elseif(DB_TYPE == "mysql"){ 112 $this->setWhere("concat(tel01,tel02,tel03) LIKE ?" ); 113 } 106 114 $searchTel = $this->addSearchStr($this->arrSql['tel']); 107 115 $this->arrVal[] = ereg_replace("-", "", $searchTel);
Note: See TracChangeset
for help on using the changeset viewer.
