Changeset 20538 for branches/version-2_5-dev/data/class/SC_SelectSql.php
- Timestamp:
- 2011/03/07 15:23:39 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/SC_SelectSql.php
r18820 r20538 176 176 177 177 配列の構造例 178 if ( $_POST['show_site1'] ) $arrShowsite_1 = array( "column"=> "show_site1",179 "value"=> $_POST['show_site1'] );178 if ( $_POST['show_site1'] ) $arrShowsite_1 = array( 'column' => "show_site1", 179 'value' => $_POST['show_site1'] ); 180 180 181 181 */ … … 186 186 for( $i = 0; $i < $count; $i++ ) { 187 187 188 if( isset( $arrWhere[$i][ "value"] ) ) $statement .= $arrWhere[$i]["column"] ." = " . SC_Utils_Ex::sfQuoteSmart($arrWhere[$i]["value"]) ." OR " ;188 if( isset( $arrWhere[$i]['value'] ) ) $statement .= $arrWhere[$i]['column'] ." = " . SC_Utils_Ex::sfQuoteSmart($arrWhere[$i]['value']) ." OR " ; 189 189 } 190 190
Note: See TracChangeset
for help on using the changeset viewer.
