Profile
Achievement
myke's Recent PHP Snippets
- All /
« Prev 1 Next »
example I used to create a auto suggest search from that pulls from a database. The example pulls from a single db table containing categories. Using jQueryUI made this pretty painless but by default the autocomplete feature uses GET variables and...
4
792
posted 13 years ago by myke
To exclude pages from wordpress search results include the following in your theme's functions.php
0
492
posted 13 years ago by myke
You will need to add “define(‘WP_ALLOW_MULTISITE’, true);†in your wp-config.php to make the multisite function accessible. If you want to copy paste, use the code block below:
0
454
posted 13 years ago by myke
run as callback from form_validation->setrules
ex:
$this->form_validation->set_rules('cc_number','Credit Card #','required|max_length[20]|callback_alpha_dash_space');
0
586
posted 13 years ago by myke