PDA

View Full Version : PHP placeholders



mattjones
25 Nov 2008, 01:05 PM
Hello everyone i am new here and quite new to PHP. I have a couple of questions and would be grateful if anyone could answer them.

I am creating a niche directory site and i have made php create a new page from some form data using the following.

file_get_contents
str_replace
fwrite
etc...

I have used place holders to create these pages and also to create a link to these new pages.

On part where a new link is created i make the script write a new placeholder ready for the next new entry.

Hope you are still with me!! anyway my questions are..

1. Is using placeholders the best way to go about this or is there another way?

2. What is the best way to hide these placeholders on a page that people will be viewing as they are unsightly. I was thinking of making the text the same colour as the background but they will still be visible if highlighted and i have also heard i would be penalised by google for hiding text and i want my page to rank well and not annoy the search engines.

Thank you very much for any help in advance!!

Matt