i have question for query string
i have page wehere i pass query string like that
abc.php?id=12
some time query sting “id” is not passed like
abc.php
and some time value of id is empty
abc.php?id=
and in the above 2 possibilities pages gives error.
how to fix this ?
If you check it correctly using
isset()andempty()you should be able to avoid any problems.