turn("off"); function handle_images($txt){ //find the [ $tps = explode("[", $txt); $i = 0; foreach ($tps as $tp){ if($i>0){ //nu op komma $f = explode(",", $tp); $filesize = $f[0]; //dan op ] $id = explode("]", $f[1]); $file_id = $id[0]; $str = "[".$filesize.",".$file_id."]"; $query = "SELECT path FROM z_intern_files WHERE file_id = ".$file_id; $res = mysql_query($query) OR DIE (mysql_error()); $img = mysql_fetch_object($res); $record = getFileRecord($img->path); $image = ""; $txt = str_replace($str, $image, $txt); } $i++; } return $txt; } ?> Manon Ossevoort - Op de tractor naar de Zuidpool en terug?
".$post->Title."

".nl2br(handle_images(($post->Body)))."

Gepost op ".$post->Posted." door ".$post->AuthorID."

"; } ?>

stuur mail