• Post Reply Bookmark Topic Watch Topic
  • New Topic

PHP - MySQL query  RSS feed

 
Maya Naga
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ranches..
i have done application which retrieves result from mysql table according to user extension and date's..
i did pagination to display the result. i try to print the result as ' Showing 1-10 records of 100'.
but my problem is am getting same as '90-100 of 100 records' rather than '94-100 of 100 records ' though the page has only 6 records..
how to solve this problem...

i have attached my code..



thanks
 
Maya Naga
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have another issue.
how to pass variable values to next page using post method..
i have done using get method and am passing values such as:

echo "<a href=\"outgoing.php?optSingle=".$c."&beg=".$frmDate."&datEnd=".$toDate."&inTxt=".$incoming."&flr=".$flr."&page=1\" ></a>";

how to change to post method?
can please someone help me to solve above 2 issues?
 
Maya Naga
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any one please give some idea on how to solve the above issues..
thanks
 
R Srini
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ambika. This particular forum is for Web Services questions - hence no response to your query in the last few days. I would suggest you ask this in a PHP forum, e.g. in DevNetwork, then you will have a better chance of receiving a response to your question. Or at least they will point you to some appropriate tutorials.

Best of luck!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!