I’ve done this before and I spent ages looking for the answer again, so I decided to document it (finally!). ASP has some really nasty functions (especially coming from a PHP background) and all that I wanted to do was to be able to see if a simple INSERT or UPDATE statements succeeded or failed without having to jump through a bunch of hoops. This...
Read MoreSpecial web characters
The web just isn’t the same without the really cool characters. ‘’“”•–—˜™ See, what did I tell you! http://www.tedmontgomery.com/tutorial/HTMLchrc.html is a pretty definitive list of all the characters commonly available.
Read Moredependant drop down lists
I was looking for a good way to do dependant drop down lists (like parent, child lists) where the selection in the first one affects the choices that you can see in the second one. After searching for a bit, I found a nice one which uses javascript to rewrite the second selection box based on the first one. I had originally written one that did a query...
Read MoreColour schemes
I hate trying to design web site colour schemes as much as anyone else – in fact I’m about as good at it as a blind monkey looking for a dropped banana. This site is good – I mean really good, it has all the colours that should go with each other, it allows you to lighten and darken colours and even has some free colour schemes. Check it...
Read MoreOnline PDF creation
Sometimes, I need stuff created for PDF and I can never find the site that I remember used to do the conversion for me. Well, PDF Online does a pretty good job for things like word documents and excel spreadsheets, pictures etc. The page link is: http://www.pdfonline.com/ you do need to enter an email address and I’ll post if I find that...
Read MoreUpdate from a database without page refresh
Sometimes, you need to be able to refresh the data from a database but I hate the refresh page method as it looks really, really ugly and you end up with heaps and heaps of page refreshes for no real purpose. A much more elegant way is to use DHTML to call a page which queries a database and to refresh it using javascript and CSS. The first thing that...
Read More