Posts Tagged ‘php’

Redirect a WordPress Post to its Permalink

Sunday, August 30th, 2009

I realize the title of this post may sound a little redundant, but I've noticed something peculiar in WordPress, it seems that it will automatically redirect a page if you change the page name (aka slug) but wont bother with anything else in the URL. Case in point I recently published a blog but forgot ...

Filtering MySQL Query Results With PHP

Tuesday, January 27th, 2009

For a while I'd been trying to figure out how to output a mysql query while excluding rows with duplicate values for a specific pair of column values, and then ordering by the most recent timestamp. Some if the phrases I ended up searching the web for were get all from distinct, order by then ...

© Wardell Design 2019
Entries (RSS) and Comments (RSS).