Page 1 of 1

pass string to html page - php include

Posted: Wed Jul 16, 2014 5:12 am
by leewad
Hi

I have lots of pages such as

sale-property-marbella.htm which has an php include thats pulls all the properties in such as marbella etc, its limited to 10 properties per page so has page numbers page2 - page3 - page4 - page5

I want the page numbers to pass through back to same page like sale-property-marbella.htm?page=2 where it will list page2 of properties, page3, page4 and so on

How can i pass the $page variable through the same htm page? if it was php then it wouldnt be a problem.

Re: pass string to html page - php include

Posted: Wed Jul 16, 2014 5:37 am
by Celauran
leewad wrote:if it was php then it wouldnt be a problem.
There's your answer.

Re: pass string to html page - php include

Posted: Wed Jul 16, 2014 5:42 am
by leewad
i have 100's of html pages in the site which are ranked good in google,

1, i dont what to change all the existing pages to PHP
2, i dont want to lose all the ranking pages due to them being renamed

Re: pass string to html page - php include

Posted: Wed Jul 16, 2014 5:55 am
by Celauran
leewad wrote:i dont want to lose all the ranking pages due to them being renamed
Rewrites can take care of that. You can even tell Apache to treat .html files as though they were .php