Re: mySQL numfound

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 66634
interpreted = N
texte = > The [numfound] tag only shows the LIMIT in the mysql search content. If you > put a numfound tag in a WebDNA search, it shows the number found in the DB, > not the MAX in the search context. Sounds like a bug to me. > The only thing I can think to do is write the search twice on the page and > not set the LIMIT. That's how I would do it. I know it's frustrating to perform two searches simply to get around a bug like this, but what else can you do? Not much I guess ... Sincerely, Kenneth Grome owner@kengrome.com kengrome@gmail.com www.kengrome.com On Fri, 31 Mar 2006 00:53:58 -0500, brian@orderbywire.com wrote: > Has anyone come across a solutions to display the [numfound] in a mysql > search result? > > > To properly set up my PREVIOUS & NEXT buttons, I need the know the total > number of records returned in the search. > The only thing I can think to do is write the search twice on the page and > not set the LIMIT. > > Any thoughts would be appreciated. > > Thanks > Brian > > > > > Brian Boegershausen > Endeavotech Advanced Business Solutions LLC. > http://www.endeavotech.com > brian@endeavotech.com > > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: mySQL numfound ( Alex McCombie 2006)
  2. Re: mySQL numfound ( Adam O'Connor 2006)
  3. Re: mySQL numfound ( Alex McCombie 2006)
  4. Re: mySQL numfound ( 2006)
  5. Re: mySQL numfound ( Adam O'Connor 2006)
  6. Re: mySQL numfound ( nitai@computeroil.com 2006)
  7. Re: mySQL numfound ( Donovan Brooke 2006)
  8. Re: mySQL numfound ( Kenneth Grome 2006)
  9. mySQL numfound ( 2006)
> The [numfound] tag only shows the LIMIT in the mysql search content. If you > put a numfound tag in a WebDNA search, it shows the number found in the DB, > not the MAX in the search context. Sounds like a bug to me. > The only thing I can think to do is write the search twice on the page and > not set the LIMIT. That's how I would do it. I know it's frustrating to perform two searches simply to get around a bug like this, but what else can you do? Not much I guess ... Sincerely, Kenneth Grome owner@kengrome.com kengrome@gmail.com www.kengrome.com On Fri, 31 Mar 2006 00:53:58 -0500, brian@orderbywire.com wrote: > Has anyone come across a solutions to display the [numfound] in a mysql > search result? > > > To properly set up my PREVIOUS & NEXT buttons, I need the know the total > number of records returned in the search. > The only thing I can think to do is write the search twice on the page and > not set the LIMIT. > > Any thoughts would be appreciated. > > Thanks > Brian > > > > > Brian Boegershausen > Endeavotech Advanced Business Solutions LLC. > http://www.endeavotech.com > brian@endeavotech.com > > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

listcookies works only sometimes (1997) [OT] MacWorld Expo (2004) Formulas.db + Users.db (1997) Simple way to create unique SKU (1997) wish list (2002) can webcat determine an image's pixel dimensions? (2000) Hello??? (1997) [WebDNA] sendmail - gives an "error -1" (2018) Looking up two prices in database? (1997) Not really WebCat (1997) More news on 5.0 (2003) Problem displaying search result (1997) HTTP Header info (1997) alternatives for WebDNA (2004) Date Formats (1997) ImageMagick (2003) Size limit for tmpl editor ? (1997) OK, here goes... (1997) Emailer [cart] file names (1997) Feature Request: DB Field manipulation (1998)