how to get the last dynamic searches in index page
Posted: Sat Jan 23, 2016 7:25 am
Hi All,
I want the logic only for my below doubts.
1.I have two pages in my website one is index.php having one text box inside the page. and the next one is livetrainstatus.php
2.when people come to my site they will land in index page like www.example.com/index.php and if they search a train the query will form like www.example.com/livetrainstatus.php?=trainnumber then the dynamic page will be displayed and produced the result as trainnumber currently started
3.in my home page I want to display the last searched queries like trainnumber started.
4.how to get the last searched queries and pass it to index page except the 404 page.
If u have any doubts post me
Thanks
Sathya
I want the logic only for my below doubts.
1.I have two pages in my website one is index.php having one text box inside the page. and the next one is livetrainstatus.php
2.when people come to my site they will land in index page like www.example.com/index.php and if they search a train the query will form like www.example.com/livetrainstatus.php?=trainnumber then the dynamic page will be displayed and produced the result as trainnumber currently started
3.in my home page I want to display the last searched queries like trainnumber started.
4.how to get the last searched queries and pass it to index page except the 404 page.
If u have any doubts post me
Thanks
Sathya