how do you tell what a var is holding, can anyone help.
Thanks
hi cecil,
i hope i understand your question.
$myvar1 = "Hello World"; $myvar2 = 1; $myvar3 = false; // and also $myvar3 = $myvar1; $myvar3 = $myvar3 .' '. $myvar2;
read more about vars at: http://www.php.net/manual/en/language.variables.php
good luck. greetings, tijger
If you need to know the value of a variable, just echo it.
$var = "my variable"; echo $var;