-1

My url is this

http://localhost/lahore/electronics.html?page=3

My code to receive page number is this

echo $pageno = $_REQUEST['page'];

It should be return value 3, but its display empty result. any best solution to get page number from this URL.

Note: Its PHP page I use .httaccess to convert PHP extention into HTML. Can i use any other way to get page number ?

1 Answers1

1

Your script seem like an html document, not a php script.

Razon Yang
  • 420
  • 3
  • 10