Archive for the ‘php’ Category

Get Your Latest Tweet with PHP v2.0

Wednesday, March 6th, 2013
code_tweet_bird

Way back in 2010 I created a PHP script  that retrieved the latest tweet from a given user via an XML Atom file generated by the Twitter search API.  Last year in 2012 twitter dropped XML support from its API, so I though I'd revisit the issue of retrieving your latest tweet, or last few tweets using ...

Simple PHP Debugger

Monday, May 21st, 2012
php_no_bug

The following is a simple php script I created for debugging. Features: Easy to setup and use. Outputs variable values to a text file. Handles php errors. Generates easy to read output. Usage To use the debugging function simply include the debugging script file at the top of your code, then pass the element you wish to debug as a parameter like ...

Get Your Latest Tweet with PHP

Sunday, May 23rd, 2010

The following code uses the SimpleXML extension so it requires PHP5. What it does is search through the XML output of search results for a given user name on Twitter. The version of the code below is set up to bypass Tweets beginning with "@" indicating an @ reply message. This behavior should be simple ...

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