July 17th, 2013, 03:03 PM
Inserting text, images from other files?
I recently learned how to create and use includes and it is so cool, my head is still exploding!
I am trying expand on this by using variables to insert the "meat" of pages dynamically, using switch (case select) but I either get the name of the file to show up, or the name of the variable.
I freely admit that I'm just trying this and that, seeing what works..can anyone point me to a tutorial showing how to do what I am trying to do?
...which is: to dynamically load content other than page ID, includes, etc. should I even be expecting case select to handle this kind of thing?
July 17th, 2013, 03:29 PM
ANY PHP tutorial will show you this. Dynamically creating complex websites is literally the entire purpose of PHP.
HEY! YOU! Read the New User Guide and Forum Rules
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin
"The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002
Think we're being rude? Maybe you asked a bad question
or you're a Help Vampire.
Trying to argue intelligently? Please read this.