Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7979237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:43:28+00:00 2026-06-04T09:43:28+00:00

On advice from a member and a previous post I’m running a query against

  • 0

On advice from a member and a previous post I’m running a query against multiple tables on an interspire shopping cart database that looks like this:

SELECT c.customerid, c.custconfirstname, c.custconemail, o.ordstatus, o.orddate, GROUP_CONCAT(  'Order Id: ', orderid,  ' | Product name: ', ordprodname,  ' | Quantity: ', ordprodqty,  '<br>' ) AS ordered_items
FROM isc_customers c
LEFT OUTER JOIN isc_orders o ON o.ordcustid = c.customerid
LEFT OUTER JOIN isc_order_products op ON op.orderorderid = o.orderid
LEFT OUTER JOIN isc_product_images pi ON pi.imageprodid = op.orderprodid
GROUP BY c.customerid
HAVING COUNT( DISTINCT o.ordcustid ) >0
AND o.ordstatus = 0
AND o.orddate < UNIX_TIMESTAMP( ) -  '18000'
AND o.orddate > UNIX_TIMESTAMP( ) -  '259200'

The result I’m getting in phpmyadmin looks like this:

customerid  custconfirstname    custconemail        ordstatus   orddate     ordered_items
6532        Cust1               CUST1@EXAMPLE.COM   0           1337502962  [BLOB - 498B]
5522        Cust2               CUST2@EXAMPLE.COM   0           1337670453  [BLOB - 284B]
4321        Cust3               CUST3@EXAMPLE.COM   0           1337507476  [BLOB - 521B]
1235        Cust4               CUST4@EXAMPLE.COM   0           1337577095  [BLOB - 1.0  KiB]
9560        Cust5               CUST5@EXAMPLE.COM   0           1337518452  [BLOB - 1.0  KiB]

When I try to echo the result in a php page to test it, nothing is returning. I’m just wondering what the Blob means and how to use it. It’s obvious it’s got some data in it, I just don’t know how to access it or use it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T09:43:30+00:00Added an answer on June 4, 2026 at 9:43 am

    In phpmyadmin above the values displaying you can see the +Options button Click on that then check the Show BLOB contents and click Go button.it will display the values.

    You can use the ordered_items in the similar way how you are accessing the customerid.

    in php

    foreach($resultSet as $row)
    {
       $customerid = $row['customerid'];
       $ordered_items = $row['ordered_items'];
    }
    

    The variable $ordered_items contains the values as it is displayed in phpmyadmin.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a query that is getting counts from multiple tables by using a
I have 3 tables, I need advice on how to get data from them.
Good advice from CommonWare and Steve H but it's not as easy to me
I need the advice from someone who knows Java very well and the memory
I need some advice from experts :) I will develop a website using PHP
Hopefully I can find some words of advice from somebody. Is it possible to
I heard recently some advice to unimport an implicit conversion from Predef - I
I need an advice about how to create new string array from 4 different
I'm simply tring play a wave/mp3 file from jruby. Can you advice me what
All, this is a follow up from a previous question here: C# formatting external

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.