Browsing the blog archives for January, 2009

MySQL fulltext searches

MySQL have a very nifty search function built in, which in many ways are more sophisticated than the WHERE LIKE (’%’). Using full text search with MATCH (…) AGAINST (…) AS relevancy it is also possible to get results ranked by relevancy. Here’s the quick, dirty way to do it:
1.  First we need to create [...]

Popularity: 8% [?]

Including chapter number in figure captions

Sometimes you need to include chapter number in captions; e.g
Figure 2.1
To do this automatically you need to setup the caption format. In Word 2003 this was very easy. In Word 2007 it is also very easy, but a bit tricky to find at first. Here’s how to do it:
Under the References tab, look for Insert [...]

Popularity: 7% [?]

PHPMailer : Language string failed to load: instantiate

This problem were driving me nuts for a couple of hours so I decided to post it here, to the benefit of others. Using the PHPMailer class to send mail to members from one of our sites I were writing a new function, but all of a sudden my mailing function refused to cooperate, and [...]

Popularity: 10% [?]