![]() |
mysql error after attempting to edit posts.
Database error in vBulletin 2.3.4:
Invalid SQL: UPDATE post SET title='',pagetext='there\'s still a little problem with editing po asst afterwards.',allowsmilie='1',showsignature='0',ico nid='0',secret=' ',secret2=' ', WHERE postid='8' mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE postid='8'' at line 1 mysql error number: 1064 Date: Tuesday 24th of February 2004 11:48:59 PM Script: http://www.urbanwritings.com/forums/forums/editpost.php Referer: http://www.urbanwritings.com/forums/...tpost&postid=8 |
up and at em.
|
Quote:
|
You have an extra trailing comma before the WHERE clause.
|
where do i fix it?
|
$DB_site->query("UPDATE post SET title='".addslashes(htmlspecialchars($title))."',p agetext='".addslashes($message )."',allowsmilie='$allowsmilie',showsignature='$si gnature',iconid='$iconid',secr et='".addslashes($secret)."',secret2='$secret2',$e ditedbysql$attachmentsql WHERE postid='$postid'");
|
fixed, thanks for the help filburt
|
All times are GMT. The time now is 01:20 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|