Changeset 22762
- Timestamp:
- May 20, 2013, 5:46:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/music_player/maintain.inc.php
r21048 r22762 4 4 { 5 5 global $prefixeTable; 6 $q = 'CREATE TABLE ' . $prefixeTable . 'mp_playlist (6 $q = 'CREATE TABLE IF NOT EXISTS ' . $prefixeTable . 'mp_playlist ( 7 7 id BIGINT NOT NULL AUTO_INCREMENT , 8 8 type VARCHAR( 50 ) NOT NULL , … … 13 13 '; 14 14 pwg_query($q); 15 $q = 'CREATE TABLE ' . $prefixeTable . 'mp_music (15 $q = 'CREATE TABLE IF NOT EXISTS ' . $prefixeTable . 'mp_music ( 16 16 id BIGINT NOT NULL AUTO_INCREMENT , 17 17 pl_id BIGINT NOT NULL , … … 45 45 $q = pwg_query('SHOW COLUMNS FROM '.$prefixeTable.'mp_playlist'); 46 46 $champ = array(); 47 while ($rep = mysql_fetch_row($q))47 while ($rep = pwg_db_fetch_row($q)) 48 48 { 49 49 array_push($champ, $rep[0]);
Note: See TracChangeset
for help on using the changeset viewer.