Archive for April, 2007

PHP MySQL Web Interface

Problem Having written a ga-zillian scripts, to query dbs, decided it would be much simpler to call just one function multiple times, duh! Then fulfilling business request after request – with many short php web pages calling the function. Decided to progressing this further – by removing the web page altogether (hitting the function via [...]

Writing a wordpress plugin – 3 easy steps

Problem You want to create a wordpress plugin, which substitutes your tags for HTML. Solution This was a million times easier than I thought it was going to be. step 1: mkdir wordpress/wp-content/plugins/YourPluginNamestep 2: vi wordpress/wp-content/plugins/YourPluginName/Your Plugin Name.phpstep 3: activate your plugin Example Here I want to substitute the following tags, with content wrapping.[problem] … [...]