Jump to content

try catch similar?


falled

Recommended Posts

I'm trying to show info from a database, but if this info is too big and i'd like to show the rows from a number to another (1..15, 16..30,...) what's the best way to do something like that??

I thought that a good way should be to pass this number by POST, and when as the web loads if the POST variables are empty, only show from 1 to 15 but if I pass the variables show from the lowest to the highest  (if the highest is lower than the row count)

My first problem is if I not pass variables I don't know how to catch errors

What's your opinion

Thank you for help an sorry for my bad writting
Link to comment
https://forums.phpfreaks.com/topic/31958-try-catch-similar/
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.