Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $query = 'SHOW COLUMNS FROM userinfo';
- $result = mysql_query($query) or report_sql_error($query, __FILE__, __LINE__);
- while($data = mysql_fetch_assoc($result))
- {
- if($data['Field'] == 'profile_theme' && substr($data['Type'], 0, 5) == 'enum(')
- {
- $types = substr($data['Type'], 6, -2);
- $profile_themes = explode("','", $types);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement