Category: Dev

PHP and Header redirects – Issue with ampersands

Update 08-10-2012: Apparently WordPress formatted the &’s the wrong way, so my code didn’t make any sense. That’s fixed now. For one of my websites I want to use a header redirect to external urls. I want to use a custom script because I don’t want to give those links a higher pagerank by backlinking to

jQuery Autocomplete: How To Search From The Start

I came across a problem using the autocomplete function in jQuery. I use a search for countries, and I want the result to start with the letter I fill in the textbox, but instead, I got all the results containing the user input. I spent some time searching for an answer, but I couldn’t find anything, so