Jump to content

Include Page Contents into String


barkster

Recommended Posts

I want to have a page that has some html text that I can change randomly and I want to include it into a string on a page so that I can change as needed.  How can I do this?

 

I'm looking at something like $html = "This is a test" . include(text.html) . "rest of text";

 

is this possible? Of course not like I have done it.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/59436-include-page-contents-into-string/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.