![]() |
|
#1
|
|||
|
|||
Need a MySQL alternative to SQL_CALC_FOUND_ROWSHey, I'm still working on the same forum system as my previous post. I am stuck at the point where I'm supposed to use SQL_CALC_FOUND_ROWS and FOUND_ROWS() functions in a SQL statement. This section of the forum script is made to make a multi-page format for each thread (which will later be used for multi-paging the posts as well).
My problem: My version of SQL is too old, SQL_CALC_FOUND_ROWS does not exist (or that it does, but won't work with a limit statment [as read from mysql.com]). Version = 3.23. Is there an alternate SQL statement, that works with 3.23, that I can use to finish this multi-page script? [EDIT:] NOTE: One thing I do not want to do is use premade code or scripts, this is a personal project to test my own skills, which went well until I got stuck with old version MySQL. |
|||
|
#2
|
||||
|
||||
Re: Need a MySQL alternative to SQL_CALC_FOUND_ROWSWhy can't you upgrade to a newer version of MySql?
|
|
#3
|
|||
|
|||
Re: Need a MySQL alternative to SQL_CALC_FOUND_ROWSAs much as I appreciate your response, I was hoping someone wouldn't ask that. I'm running a very important webserver in my home with a web-store on it. I don't want to run the risk of ANY problems resulting from updating the system, so right now updating is impossible. I need a replacement for SQL_CALC_FOUND_ROWS....even a work around is fine.
|
|
#4
|
||||
|
||||
Re: Need a MySQL alternative to SQL_CALC_FOUND_ROWSWhat does the SQL_CALC_FOUND_ROWS statement do? I am sorry, but I'm new to MySql and was unable to find it in the help.
|
|
#5
|
||||
|
||||
Re: Need a MySQL alternative to SQL_CALC_FOUND_ROWS__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#6
|
|||
|
|||
Re: Need a MySQL alternative to SQL_CALC_FOUND_ROWSTrue, but I guess in that post I was asking if you thought that would work, but no harm in trying I guess. Thanks for the help
|
|
#7
|
||||
|
||||
Re: Need a MySQL alternative to SQL_CALC_FOUND_ROWSYou could use the php
PHP Code:
|
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FREE Hosting,400MB-10GIGS BW,phpBB,SMF,myBB,phpBB RPG,php,25 MySql db's,Z-panel..more | cknetworx | Free Web Hosting | 6 | 27-Nov-2007 08:07 |
| CPanel 10, Unlimited Emails, Unlimited Subdomains, Unlimited MySQL. $2.00 per Month | Kalypsoweb | Web Hosting Advertisements & Offers | 0 | 30-Oct-2005 01:51 |
| php and mysql | vladimy | MySQL / PHP Forum | 2 | 28-May-2005 06:17 |
| Windows: From only £20p/y,Linux: from $10p/m. ASP, ASP.NET, PHP, Free MySQL, +More | EyotaHosts | Web Hosting Advertisements & Offers | 0 | 28-Jun-2003 14:54 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The