Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Strange Error


joylounge

Recommended Posts

Hi

 

I have added an extra field as described in the advanced HTML doc, word for word but i get an error.

 

// START -> insert any custom sql queries for extra tags here
$product_extra_sql = "SELECT products_bimage FROM products WHERE products_id =' " . $row['products_id'] . "'"; 
$products_extra_query = mysql_query($product_extra_sql,$connection);
$products_extra = mysql_fetch_array($products_extra_query);
// END   -> insert any custom sql queries for extra tags here

 

Then

 

// START -> insert any extra custom tags here
echo '<BIMAGE>' . $products_extra['products_bimage'] . '</BIMAGE '>';
// END   -> insert any extra custom tags here

 

Here is the error I receive:-

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

Only one top level element is allowed in an XML document. Error processing resource.

 

Can any one help or point me in the correct direction - thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...