Log in

View Full Version : How can i edit a post form the DB?


cRaZy-BoY
03-13-2006, 06:48 PM
i need to edit a post form the database.....

it's the first post of the thread.....

i ran the query:

$db->query("
UPDATE ". TABLE_PREFIX ."`post`
SET
`title` = '". $title ."',
`pagetext` = '". $message ."'
WHERE
`postid` = '". $postid ."'
");

and it update the post....but when i enter the thread i dont see any changes....

if i edit the post forum "editpost.php" i can see changes...

but like i say when i enter the thread from "showthread.php" i dont see changes....

what more i need to do...in order to update the first post of the thread?!

thanks a head! :surprised:

ok i just need to update "post_parsed" too....

tnx any way :)