You will not believe but just after I reply your answer I found the solution. Look. My actual problem was I not taking the query results from DB but from an array...
There for I wrote my own script coz all the SCRIPTS written are for the ones who take their answers from a database query..
And I must say that my way is easier than others and can be used as a function for any page.Else for every page you must use the script and connect to database again and again...
Let me tell you what I made wrong look how funny it is..
for ($k=$offset;$k<=$limit-1;$k++)
{
.........................}
here as you know $limit is how many results per page I choose for mine 3
$offset =0 at the beginning and increase +3 every time you sclick on next button ok ...
But when I do something like that as you see since $offset;$k<=$limit-1 it always turn the same result for any page because at the first it is from 0 to 3 later when $offset=3 it will be like from 3 to 3 again...Got it !!!!!!!! I FORGOT to change $limit-1 to $limit+$offset-1 How I am stupid... So when I chanegd it like that when $Offset=3 the range will be from 3 to 6 and the result betwwen 3 and 6 will be shown...
Thank you very much in a way (I dont know how you Open my mind)