I'm doing a PDO Query, using the (PDO::FETCH_COLUMN, 0)
this returns the following result.
0 => string 'Sarah' (length=3)
1 => string 'Lisa' (length=3)
2 => string 'Katherine' (length=3)
3 => string 'Laura' (length=3)
4 => string 'Hannah' (length=3)
5 => string 'Becky' (length=3)
6 => string 'Stacey' (length=3)
7 => string 'Lauren' (length=3)
is there a php function to convert the array to values only, I'm looking for data similar to.
['Sarah', 'Lisa', 'Katherine', 'Laura', 'Hannah.....