Jump to content

Page pagination


houssam_ballout

Recommended Posts

 

Hello,

I am using pagination to show my records.

I had used this tutorial:

http://php.about.com/od/phpwithmysql/ss/php_pagination.htm

 

As for the files I am working with:

I had a form:

<form name="search" action="search.php">

 

<table border='1'>

    <tr>

            <td>Type</td>

            <td><input type='text' name='type' /></td>

            </tr>

   

        <tr>

            <td>Price</td>

            <td>

            <select name='price'>

            <option value='999'> < 1000 </option>

            <option value='1001'> > 1000 </option>

            </select>

            </td>

            </tr>

       

            <tr>

            <td>Zone</td>

            <td>

 

            <select name='zone'>

            <option>2</option>

            <option>3</option>

            </select>

            </td>

            </tr>

           

            <tr>

            <td></td>

            <td><input type="submit" name="search" value="Search" />

            </tr>

       

        </table>

    </form>

 

The search.php is a file that will display the results.

The results are displayed on the page correctly,but when I try to go to next page it won't work, as if the page forget the variables.

Any help?

Thanks

 

Link to comment
https://forums.phpfreaks.com/topic/199123-page-pagination/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.