Tag: HTML

Turn a text list into an HTML Select Option list with PHP

Easy solution to this basic HTML coding need posted over at Stack Overflow by a random clever bloke. Thanks RCB. My only issue was with UTF-8 characters coming through garbled. Bodged a workaround using this encode entities plug-in for Dreamweaver.

How to group items in HTML select menus

Here’s something I learnt last week, just as the title says: how to group items in an (x)HTML select drop down list. This trick, which I’d assumed was done with magic (or rather DHTML or JavaScript trickery), is actually very… Continue Reading →

Include an HTML file in a PHP variable

I couldn’t get PHP to accept an HTML file include as the definition of a variable without throwing my templated page into disarray.  An answer came from the venerable desilva then checked with the php folk; use output  buffering (see example… Continue Reading →

Patternify (for repeating patterns not repeating paternity)

‘Cos I forget where I find these things – and as far as Base64 pattern generators go this one’s a doozy. An old doozy, but a doozy, nevertheless.

© 2007-2021 qreativbox/Gabriel de Kadt — Powered by WordPress

Qreativbox Hack of BaskervilleUp ↑