How do I include a variable file name in a php include?

I don't really understand the specifics of your question. But here is what I use, something like....?php include('mlm-reality.com/blah-blah.php');? Replace the "" and "" with the angle brackets -- the "greater than" and "less than" signs.

They won't show, here. Rereading your question, never mind my answer above. Too lengthy to show how to get a variable from a box and put into a variable then construct a file name string from that.

Sorry.

What you have done is correct. If the file you are including is not in the same directory, your $state variable will need to contain the path to your variable.

I need to include a variable file name instead of a fixed file name in the php include. Something like this:? Php include($state.".

Php");? I know this is not right but what is the simplest way to put a variable file name in a php include. Thanks, lmvus.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions