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!
I am trying to understand some script but I have some problems understanding this line and some similar to it. I understand that information is collected from a form and that that is stored in the variable $name when it is set.
However I have absolutely no clue what the following part does and the PHP website is not helping me out that much (guess I am searching it the wrong way or something.
Crux wrote:So the following would be a correct statement to give the variable number the value of 5 if no input has been given by a user in the field of a form?