0

This is Result of two table using GROUP_CONCAT() for columns content_ids and content_titles and this data is separated with a ',' separator

Result

What i need is?

Using php the values must be stored in a array and should print at using a loop.

can anyone help me? thanks.

3
  • 1
    What have you tried ? What you get ? What is expected ? Commented Mar 11, 2013 at 9:07
  • 1
    just use explode() on that field Commented Mar 11, 2013 at 9:07
  • yea i did it stores in a array like this array(array[0]=>0,[1]=>1) Commented Mar 11, 2013 at 9:11

1 Answer 1

0

Retrieve your data usual way.
Then, after reading particular comma-separated field, use explode() to get an array out of it.
That's all

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.