Changeset 4325 for trunk/install/db/65-database.php
- Timestamp:
- Nov 20, 2009, 3:17:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/install/db/65-database.php
r4280 r4325 109 109 GROUP BY language'; 110 110 $result = pwg_query($query); 111 while ( $row= mysql_fetch_assoc($result) )111 while ( $row=pwg_db_fetch_assoc($result) ) 112 112 { 113 113 $language = $row["language"]; … … 142 142 WHERE user_id='.$conf['webmaster_id']; 143 143 $result = pwg_query($query); 144 if ( mysql_num_rows($result)==0)144 if (pwg_db_num_rows($result)==0) 145 145 { 146 146 $query=' … … 151 151 } 152 152 153 if ( $row= mysql_fetch_assoc($result) )153 if ( $row=pwg_db_fetch_assoc($result) ) 154 154 { 155 155 $admin_charset = $all_langs[$row['language']]['charset']; … … 166 166 $query = 'SHOW TABLES LIKE "'.$prefixeTable.'%"'; 167 167 $result = pwg_query($query); 168 while ( $row= mysql_fetch_assoc($result) )168 while ( $row=pwg_db_fetch_assoc($result) ) 169 169 { 170 170 array_push($all_tables, $row[0]); … … 177 177 $result = pwg_query($query); 178 178 $field_definitions=array(); 179 while ( $row= mysql_fetch_assoc($result) )179 while ( $row=pwg_db_fetch_assoc($result) ) 180 180 { 181 181 if ( !isset($row['Collation']) or $row['Collation']=='NULL' )
Note: See TracChangeset
for help on using the changeset viewer.