Search form

Follow:

PHP Beginnings Ex. #5: Variable Content and Destruction

When you are writing scripts, you will often need to see exactly what is inside your variables. For this PHP exercise, think of the ways you can do that, then write a script that outputs the following, using the echo statement only for line breaks.

Thanks for the question. But we need more information to be able to help you. As you can see, there is no line 66 in the answer script. What variable do you have on that line? There could be many reasons it's not working right. If you like, you could paste your script into a comment.

Notice: Undefined variable: name in path/to/your/file
I believe this notice is because PHP thinks the variable is undefined because it has been set to null by the unset function.
To turn this off include this at the top of your file.