02-09-2008, 01:50 AM
|
#11 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
Quote:
Originally Posted by RobertK
Yeah, pretty much. I'd also combine it with a:
|
Quote:
Originally Posted by RobertK
Can you show me your current query please? LIMIT is the absolute last statement you should include.
|
PHP Code:
mysql_query("UPDATE `news` SET `title` = '". mysql_real_escape_string($title) . "', `poster` = '". mysql_real_escape_string($poster) ."', `tags` = '". mysql_real_escape_string($tags) ."', `msg` = '". mysql_real_escape_string($msg)."' WHERE `id` = '". $_GET['id']."');
__________________
VillageIdiot can have my babbies ;d
|
|
|
|