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

  • Home
  • SEARCH
  • 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 8620871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:41:07+00:00 2026-06-12T06:41:07+00:00

I have a table named listing_fees and I want to get the data by

  • 0

I have a table named listing_fees

and I want to get the data by the id of 12

the data that I want to get is a BLOB that is named [BLOB - 205B]

inside the BLOB file is an array like this:

a:7:{s:2:"id";s:1:"1";s:5:"label";s:8:"For Sale";s:6:"amount";s:4:"0.00";s:4:"days";s:1:"7";s:6:"images";s:1:"0";s:10:"categories";a:2:{s:3:"all";i:0;s:10:"categories";a:1:{i:0;i:30;}}s:10:"extra_data";N;}

I don’t understand a thing on this code.

I want to display it on the frontend of my html using PHP

what will I to display it?

SQL Query or something else.

  • 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-12T06:41:08+00:00Added an answer on June 12, 2026 at 6:41 am

    That data is in PHP Serialized format you can decode it using unserialize

    Example

    $data = 'a:7:{s:2:"id";s:1:"1";s:5:"label";s:8:"For Sale";s:6:"amount";s:4:"0.00";s:4:"days";s:1:"7";s:6:"images";s:1:"0";s:10:"categories";a:2:{s:3:"all";i:0;s:10:"categories";a:1:{i:0;i:30;}}s:10:"extra_data";N;}';
    $data = unserialize($data);
    
    echo "<pre>" ;
    foreach ( $data as $key => $value ) {
        if ($key == 'categories') {
            echo $key, " = ", $value['categories']['0'], PHP_EOL;
        } else {
            echo $key, " = ", $value , PHP_EOL;
        }
    }
    

    Output

    id = 1
    label = For Sale
    amount = 0.00
    days = 7
    images = 0
    categories = 30
    extra_data = 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table named datas and I'm executing a query like this: SELECT
I have a table named size here, something like this: size id | size
I have a table that looks like this: Month Site Val 2009-12 Microsoft 10
I have a table named POS_File_Detail . I would like to update Line_Number based
I have an (access) database table which contains data I would like to populate
I have this code in my index.html.erb file in my project: <h1>Listing businesses</h1> <table>
I have seen this railscast here In that episode Ryan bates show data values.
Lets say I have table named Place with columns: placeId int not null auto_increment,
I have a table named tbl_Subjects_Taken which lists all the subjects taken by the
I have a table named scores with the columns id and score . I

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.