this is a fix for the damaged preview feature (pre-post) in simple php blog (i am using version 4.4, not sure about any other versions):

open file preview_cgi.php
goto line 48 (default):
$str = $str . '<option label="' . $label' . value="' . $id_number . '">' . $label . "</option>\n";

line 48 should say:
$str = $str . '<option label="' . $label . '" value="' . $id_number . '">' . $label . "</option>\n";