On Sun, 12 Nov 2006 22:02:51 -0700, Thomas Bonham wrote: > Thank you for that, it was a big help. > > Can I also call function that way? > > Again thank you for your help. > > Thomas Do you mean: /index.php?action=search <?php if (isset($_GET['action']) && $_GET['action'] == 'search') { search_items(); } else { view_all_items(); } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php