View Single Post
Old August 18th, 2011, 10:16 AM
digitalatom digitalatom is offline
Join Date: Jul 2011
Posts: 11

Hi Eric,

The code I pasted in was:
function dfr_get_brands() {
global $wpdb;
$brands = $wpdb->get_results("SELECT brand FROM ".$wpdb->prefix."dfr_shop_products GROUP BY brand");
$html = '';
foreach ($brands as $brands) {
$html .= '<option value="'.$brands->brand.'">'.$brands->brand.'</option>';
return $html;

How do I now get the site back live - as I cant login to my wordpress theme

Any help to get it back up and running would be really appreciated