Home Forums Plugins Related Products Support [Resolved] Best way to make this horizontally displayed? Reply To: Best way to make this horizontally displayed?

#6810
Conor
Participant

mmmm yep still workin on it (no real programming background mind you…), I have moved the site to the main directory eg: http://powderroomessentials.com.au/?page_id=8&category=4&product_id=129

As you can see the error on the page above, I tried to insert something like this but to no luck???

if( !$vl_wpscrp_rotation ) {
$vl_wpscrp_productdata_sql = "SELECT name, image FROM ".$wpdb->prefix."wpsc_product_list WHERE id = '".$vl_wpscrp_manual_products."' LIMIT 1";
                                                $vl_wpscrp_productdata = $wpdb->get_row( $vl_wpscrp_productdata_sql );
                                                if( $vl_wpscrp_productdata ) {
                                                          $vl_wpscrp_products[] = array(
                                                          'id' => $vl_wpscrp_manual_products,
                                                          'name' => $vl_wpscrp_productdata->name,
                                                          'image' => $vl_wpscrp_productdata->image
                                                          );
                                                }
uasort( $vl_wpscrp_products,'vl_wpscrp_scmp' );
}

Am I on the right track? no idea???