BR
asked on
Php print out
How can i print out the value without using echo statement? I use it like this
<?php echo $value ?>
I know that there is another usage but i can not remember it
<?php echo $value ?>
I know that there is another usage but i can not remember it
Then there is HEREDOC
$string = 'variables';
echo <<< LOTSOFTEXT
<p>
Any text, <b>tags</b> "double quotes" or 'single quotes' and {$string}
Over as many lines
as required.
</p>
LOTSOFTEXT;
ASKER
Dear Julian Hansen,
how would you write the below code if you were the writer?
how would you write the below code if you were the writer?
<input type=hidden name=id value='<?php echo $id ?>'
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you very much Julian Hansen. Best regards
You are welcome.
print_r()
var_dump()
print
var_export
printf