Code:
<?php
include 'dbconnect.php';
$query = "SELECT * FROM messages WHERE id=43";
$result = mysql_query($query);
while($row = mysql_fetch_array($result))
{
$str = $row['message'];
}
print_r (explode(",\"",$str));
print_r (explode("\"",$str));
echo "<br />";
?>
This code does the splits just fine, splits it into 20 arrays as it does it twice. I just need to say now that array[11] = $peanuts and i will be good to go