![]() |
| Sponsored Links (We share ad revenue): |
|
|
Re: How to get more results from MYSQL |
|
King Spam Talker
Posts: 1,029
|
Maybe Tripy on one of the sharp php guys will respond. I can tell you what you need to do, but writing working code is beyond me.
That script is pulling the last member only as you know. It would need to SELECT from MEMBERS, ODER by date and have a LIMIT X. Where X is the number you want to display.
__________________
Colbyt Host unlimited domains with cPanel hosting for as little as $2.95 a month. |
|
|
|
|
|
Re: How to get more results from MYSQL |
|
Ultra Talker
Posts: 308
|
Even if you change the limit clause to retrieve more rows, the code for fetching and displaying the result set will only operate on first record of the resultset.
PHP Code:
__________________
tiny url |
|
|
|
|
|
Re: How to get more results from MYSQL |
|
Fetchez la vache!
Latest Blog Post:
Pretty pretty please…. Posts: 1,689
Name: Thierry
Location: In the void
|
Sorry, but I don't know how this should be done.
The strange thing I notice, is that this seems to works against a caching mechanism ($e107cache->retrieve), so maybe it's the reason the modification you made at first didn't worked. There was already a result in the site cache mechanism, and it used that value. I sadly cannot say anything more, I don't know this product, nor the way it works.Sorry.
__________________
Listen to the ducky: "This is awesome!!!" |
|
|
|
|
|
Re: How to get more results from MYSQL |
|
Ultra Talker
Posts: 308
|
I mean replace it with the actual method to retrieve number of rows returned by the previous select query executed.
__________________
tiny url |
|
|
|
| Sponsored Links (We share ad revenue): |
| Thread Tools | |
|
|
| Webmaster Resources Marketplace: |
| Software Development Company | Webhosting.UK.com |
| Web Templates | Text Link Brokers | Stock Photos |