Hi!
this ist my first time with php. please tell me: how can I write html-code from inside a php-script?
I have no idea.
thanx for your response.
--------
sprot@integen.de
http://www.integen.de
HTML-Text from PHP script?
Moderator: General Moderators
...
Use:
You can also insert PHP code inside HTML page - depends on your style
Hope this helps.
See ya!
Code: Select all
<?php
echo "you can write anything yuo want here including HTML <tags> and you end it with ";
?>You can also insert PHP code inside HTML page - depends on your style
Hope this helps.
See ya!
you can also use heredoc
Code: Select all
echo <<<EOF
<html in here>
<table>
<tr><td>
more html
</td></tr>
EOF;