PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
$_GET['pageno'] will only exist when you have ?pageno= in the url. More than likely, your initial page does not contain this value. It is better practice to check the existance of user input, and/or give a default value.
Thanks for the prompt reply and I now understand why Apache is outputting the warning.
You're correct in that when my script is initially called the 'pagno' variable is not set. I'm not passing variables via URL as I'm using sessions variables instead. Therefore I simply have to ensure that the 'pageno' variable is initialised as follows: