# Arraying Field PHP

**URL:** <https://forum.kirupa.com/t/arraying-field-php/135597>\
**Category:** Uncategorized\
**Created:** [January 28, 2005, 3:43pm UTC](https://forum.kirupa.com/t/arraying-field-php/135597 "2005-01-28T15:43:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RushScripting](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RushScripting](https://forum.kirupa.com/u/RushScripting)\
**Post date:** [January 28, 2005, 3:43pm UTC](https://forum.kirupa.com/t/arraying-field-php/135597/1 "2005-01-28T15:43:04Z")

</div>

Ok in Mysql I have a field group\_links with content such as add\_news, add\_project, edit\_news, edit\_project on and on. Ok well I was going to array this info but im guessing I have lost my mind because I have forgotted how to break the field group\_links into seperate values so i can array them. For Example:

```php

$query = mysql_query(BLAH);
$row = mysql_fetch_array();
foreach( $row['group_links'] as $k => $v ){
   echo&quot;blah&quot;;
}

```

This doesn’t work because it doesn’t break appart the string $row[‘group\_links’] . How do i go about breaking the string into different parts.
