Introduction   Getting Started   Upgrading   Function Reference   Changelog   Support and Feedback

simple_search

Usage: string simple_search (string searchstring[, mixed forums[, bool dateorder]])
Purpose: Performs a simple search.
Availability: IPB SDK 1.0

Searches forums forums for the string searchstring. If dateorder is set to one, results will be returned in date order. Returns a string search id on success, or FALSE on failure. A full error message can be retrieved with sdk_error.

The second argument, forums accepts:

// Perform a new search and get the ID.
$searchid = $SDK->simple_search ("hello world");
See Also: get_search_results


User Contributed Notes

There are currently no user contributed notes for this page.

Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net