How to use a Class?
| From: | Shantanu Oak | Date: | Fri, 04 Apr 2003 04:18:57 +0000 |
| Subject: | How to use a Class? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-26828@lists.php.net to get a copy of this message | ||
Hi,
I am a beginner.
I want to use the class explained on the following
page.
http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/125901
I have tried printing the results with print_r along
the following code mentioned on the page,
$mysearch = new MysqlSearch;
$mysearch->setidentifier("MyPrimaryKey");
$mysearch->settable("MyTable");
$results_array = $mysearch->find($mysearchterms);
I am getting the text array() as a result.
Can someone explain to me how to use it and get
result.
Shantanu Oak
shantanuo@yahoo.com
http://www.shantanuoak.com
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com