Thread:Project:Support desk/Updating old text blob using php

Hi,

I found the following site http://cosminswiki.info/index.php/How_to_change_pages_from_the_database

that explains how to modify the old_text in the table text of a certain page.

I tried this, and the result is pretty funny.

After updating and viewing the page, I still see the old content. Going to the edit page does show me the new content.

Only after pressing Save on the edit page, the revision table is modified as well so my page now always shows the new content.

Is there a way to emulate the save button in php ?

What would be the procedure to update the revision table, and subsequently the text and page tables after a manual or php update statement ?

Could someone please reveal the correct sequence of steps to be taken, or, even better, point me to a website that explains this, please ?

Thanks,

Hans