Paging With PHP [Part3]

PHP August 11th, 2008

In this post, I’ll modified paging with PHP part 1 and part 2 with adding next and previous link or first and last link. Just little modified on paging with PHP part 2. So you can get next page, previous page, first page and last page easily. Let’s try^^.

There are two scripts added on paging with PHP part 2. First script is used to make First and Previous link.

Read the rest of this entry »

Sphere: Related Content

Tags: , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Paging With PHP [Part2]

PHP July 10th, 2008

After you learn paging with PHP on part 1. I’ll explain how to paging with searching function. First you must add form to get keyword for searching.

1
2
3
4
5
<!--searching form-->
<form method="get" action="pagingsearch.php">
Customer Name= <input type="text" name="names">
<input type="submit" name="search" value="Search">
</form>

With get methods, form will sent keyword for searching whenever it submitted.
The you must catch data on PHP script with:

1
2
3
4
5
//paging with searching
$search=$_GET['search'];
 
//get name for searching
$names=$_GET['names'];

Read the rest of this entry »

Sphere: Related Content

Tags: , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Paging With PHP [Part1]

PHP July 8th, 2008

In this post I’ll give you some tutorial how to paging with PHP. In this case I used SQLite for my database. First I make customers table with SQLite admin.

SQlite Admin

Then I fill customers table with 10 customers data. This is PHP script to show all data without paging. Read the rest of this entry »

Sphere: Related Content

Tags: , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Blogroll Link Update