Page 1 of 1

How do I decipher this?

Posted: Fri Dec 18, 2009 4:46 am
by hwdesign
In my SQL database I have a value that looks like this:

Code: Select all

a:1:{i:0;s:1:"1";}
The number within the quotations ("1") is the value I need to retrieve, but I don't know what I need to do to get it.

A little more detail: I have a table called "albums" and a table called "galleries." The "1" indicates the ID of the gallery related to that particular album.

Re: How do I decipher this?

Posted: Fri Dec 18, 2009 5:08 am
by John Cartwright