PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
What I'm trying to do is have it treat $id as "$id" and not the value of $id; then treat $id$value as one whole variable, made up of "$id" and the value of $value, i.e. $id1. Therefore the wanted end result for the code above would be an echo of "hello" - the string of $id1.
This way of naming variables is what I like most about PHP.
You can do stuff that has variable names that only PHP knows about...
Is that good? I here you ask.
Well, If you just know the names can't be manipulated by hacking the place, you can do wonderful dynamic database driven things using a few lines of PHP-code.
THAT really makes advanced scripting worth its time.