$pos && $npos < $len ) { $pos = $npos; } } if ( !$pos ) { // substr $len-3, because the ellipsis adds 3 chars return substr($str, 0, $len-3) . '...'; } else { // $pos+1 to grab punctuation mark return substr($str, 0, $pos+1); } } ?> Monsters.net has been updated. - Art by Kristen Ankiewicz here. You are all reminded to buy stuff.

In the process of editing monsters.net I discovered a converter to change HTML characters into plain text, for displaying source code on the page.

<h2>This is some HTML.</h2>

Normally the above snippet would display like this:

This is some HTML.

EOD; echo ''; ?>

Art and Photography by Kristen Ankiewicz



Saturday, January 31, 2009

Monsters.net has been updated.

The latest drawing is here. You are all reminded to buy stuff.

In the process of editing monsters.net I discovered a converter to change HTML characters into plain text, for displaying source code on the page.

<h2>This is some HTML.</h2>

Normally the above snippet would display like this:

This is some HTML.


0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



Home             I like Comic Sans and I don't care Another movie we enjoyed from Netflix Aw, Netflix saving money My pandora station Yay Obama! Bah, I have a cold Rounded corners using image sprites Hair flippy photos Owl at Windy Hill