Lol I've written some PHP programs, but never really needed to display variables to my users... :o
I've tried...
print("$variable");
print "$variable";
print $variable;
echo("$variable");
echo "$variable";
echo $variable;
It doesn't display anything special...
I have a form that I shoved inside a function, and right before the actual form starts in the page, I'm trying to display that variable. It's an error message telling the user what he didn't fill in. After the form function, my script checks if it's been submitted, if it has, then it checks the required fields with ereg... If they aren't correct then it sets the $variable to "<font color=\"CC0000\" face=\"Verdana\">Please enter a valid something</font>", and then calls the form function, which displays the form fine... Just not that variable....
I've checked for typos... I can't see what the problem is at all!
⭕(😕:mad::eek:
Any help?
Thanks. 🙂