0

I'm working on an SQL database via PHPmyAdmin and i have a column called pagesText, it supposed to show some text but all i see is "[BLOB - ...]".

snapshot of the table column

what is this? and how can i get the original text?

Qurashi
  • 1,449
  • 16
  • 27

3 Answers3

1

Click on Options, tick "Show BLOB contents" and click on Go.

Marc Delisle
  • 8,879
  • 3
  • 29
  • 29
0

About Blob:

From Wikipedia:

http://en.wikipedia.org/wiki/Binary_large_object

A blob (alternately known as a binary large object, basic large object, BLOB, or BLOb) is a collection of binary data stored as a single entity in a database management system. Blobs are typically images, audio or other multimedia objects, though sometimes binary executable code is stored as a blob. Database support for blobs is not universal.

Basically what it means is that your data is saved in binary format directly. (all data is binary, I know.)

But, you can simply access the field via your code in PHP and can manipulate, echo it easily.

PhpMyAdmin shows it as BLOB here, since it does not want to show long texts in record tables.

Sunny R Gupta
  • 5,026
  • 1
  • 31
  • 40
0

Your text has been stored as binary data, see wikipedia http://en.wikipedia.org/wiki/Binary_large_object

Read also phpmyadmin shows numbers or blob for mysql's utf8_bin callation columns?

Community
  • 1
  • 1
Flavio
  • 846
  • 1
  • 9
  • 21