Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/content/09/14001309/html/wordpress/wp-content/themes/wardelldesign/header.php on line 103

Warning: mysql_query(): A link to the server could not be established in /home/content/09/14001309/html/wordpress/wp-content/themes/wardelldesign/header.php on line 103

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/09/14001309/html/wordpress/wp-content/themes/wardelldesign/header.php on line 107

Warning: implode(): Invalid arguments passed in /home/content/09/14001309/html/wordpress/wp-content/themes/wardelldesign/header.php on line 113
Mysql | Wardell Design Blog

Posts Tagged ‘mysql’

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 2020
Entries (RSS) and Comments (RSS).