A Wee Tiny Blog

Home || Downloads || Documentation || Change Log || License || Roadmap || Contact



 

Method: UpdateEntry

Parameters

id
The ID of the entry being saved
date
Timestamp of the entry to save
icon
Icon (or userpic) of the entry
subject
The entry's subject line
content
The content of the entry

Description

This is one of two methods you can use to store an entry in your database. Unlike the other method, this one requires the ID of the post you want to edit. If no such post exists, it will fail.

Also, be aware that this method tweaks the content of your entry so that it can be displayed directly with PHP's echo function. How the tweaking is done can be controlled through A Wee Tiny Blog's configuration options.

Return values

When successful, this method returns TRUE. Otherwise the internal error flag is set and the method returns FALSE.


 

Hosting generously provided by
Get A Wee Tiny Blog at SourceForge.net. Fast, secure and Free Open Source software downloads