Connecting to database via the Cresult class
"J and T" <[email protected]> Tue, 10 Jun 2003 14:09:21 -0700
| Newsgroups | gmane.comp.web.aspseek.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello all, I'll be honest I'm no C programmer, but I was wondering if I could get a little help. How I can make select from the mysql database from within search.cpp in the Cresult class? CResult::GetUrls I need to extract information from urlword based on the url_id which is readily available here. I can easily do this from the CWordSiteFilter::GetMap1 class, but for some reason I can't use any database functions from CResult even though I declared the following in the search.h at CResult public: CSQLDatabase* m_database; Basically all I will be doing is logging the weight and url_id so that I can get a good idea on who is being returned and what their weight for later processing and analysis. Any help would be appreciated. Thanks, John _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail