PHP Classes

limit with LIKE

Recommend this page to a friend!

      1No. Pagination  >  All threads  >  limit with LIKE  >  (Un) Subscribe thread alerts  
Subject:limit with LIKE
Summary:limit with LIKE
Date:2010-06-16 08:05:28
Update:2010-06-17 08:09:31

  1. limit with LIKE   Reply   Report abuse  
Picture of saqwild saqwild - 2010-06-16 08:05:28
hello, can you please tell me how to limit the queries with LIKE variable
i am using

$myvar =Get function then call the $myvar in sql query but its not working


  2. Re: limit with LIKE   Reply   Report abuse  
Picture of Iqbal Hossain alo Iqbal Hossain alo - 2010-06-17 08:09:32 - In reply to message 1 from saqwild
Would you please tell me your requirement clearly with an example.

In fact in this class you can send any query and limit number using following method.

$QueryString= "Select * From myTable " ;
$PageLimit = 20;

So call the class and put following variable.

$myVar= new pagination ($UserURL,$DBLink,$QueryString,$PageLimit,$CurrentPageNumber)

If this is not suitable please write your problem with example.

For more information send a message to info at phpclasses dot org.