0

Hi All,
I have a PHP Code That is Search Input Value from Database and Print it. but i want to Print Serial Number (1,2,3......) before my Every Query. For Ex:
1. Name F Name Add
2. Name F Name Add
3. Name F Name Add
4. Name F Name Add
5. Name F Name Add

Please Suggest me The Code for Done This. Thank You.

3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by hemgoyal_1990
0

try something like this

$i = 1;
while(.....){
echo $i; echo $yourdata;
$i++;
}

Thanx Dude for Help....
I am Solve my Problem with your Suggestion..
and mark this thread to Solved..

Edited by hemgoyal_1990: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.