Well like I mentioned above maybe your short_open_tag isn't enabled or something if you're sure their was a value in the variable. It could also be a problem with register_globals or the way you're assigning the value or something like that. Otherwise it would print it to the browser just like you expect. I would need to see how you're getting the values and such to see what's really going on.