I am new to PHP and I know this is a very simple question; please forgive me.
I want to write a function that will print an entire table in html.
I have:
function writetable() {
?>
"ALL THE HTML TABLE STUFF"
<?php
}
then I try calling the function as:
writetable();
I'm getting an error - am I holding my mouth wrong?
Thanks in advance.
I want to write a function that will print an entire table in html.
I have:
function writetable() {
?>
"ALL THE HTML TABLE STUFF"
<?php
}
then I try calling the function as:
writetable();
I'm getting an error - am I holding my mouth wrong?
Thanks in advance.