Sorry for the delayed response; things got busy.
You're missing the closing bracket for the VALUES in your query:
CODE
$result = mysql_query("INSERT INTO thoughtentry(headline, content) VALUES('$headlineCopy', '$contentCopy')");
That'll fix your database error, and successfully save the data. Once you've saved the data, and queried it back out, what do you plan to do with it? If you're wanting to be able to access it in Flash, then you'll want to prepend the output with a variable name. Perhaps something like this:
CODE
if($result = mysql_query($query)) {
$output = 'entries=';
while ($row = mysql_fetch_array($result)) {
$output .= "{$row['headline']}<br />{$row['content']}<br /><br />";
}
echo($output);
}
2¢
This post has been edited by DilutedImage: 4 Oct, 2008 - 02:26 PM