Hi Jim, you where right.
The error says I'm a pillock (and it's near 'nme')
I'd used mysql_escape_string(); in the extra text,
but then added some *temporary* extra format
<div class='nme'> without escaping the quotes.
I've got into the habit of using a fixed standard error
for security reasons, and forgot the basics.
Brain failure!
Thanks, Bob E.
----- Original Message -----
From: "Jim" <[EMAIL PROTECTED]>
> Try doing some error checking:
>
> $sql = "UPDATE sleepdesk SET message='$update' WHERE logged='$msgid'";
> $success=mysql_query($sql) or die mysql_error();
> if ($success)
> {echo"This should have worked";}
> else
> {echo"What does the error message say?";}
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/