Posted on: 02/03/05 08:52am
By: Robin
Hello
I'm playing with staticpages with enabled php and trying to include some html.
So I put this piece:
print '<table width="100%" border="1">';
print '<tr>';
print '<td> </td>';
print '</tr>';
print '</table>';
and the problem is that this table is displayed above the header.
What am I missing? (GL 1.3.11)
html in staticpages (PHP enabled)
Posted on: 02/03/05 12:27pm
By: tomw
You either need to add the html to a variable and return it or change the php mode of the static page.
See Here[*1] .
html in staticpages (PHP enabled)
Posted on: 02/03/05 01:52pm
By: Robin
You mean like this:
$print = '<table width="100%" border="1">';
$print = '<tr>';
$print = '<td> </td>';
$print = '</tr>';
$print = '</table>';
return $print;
Is this right?
Thank you Tom
html in staticpages (PHP enabled)
Posted on: 02/04/05 04:36am
By: Robin
An update!
Problem solved
Thanks again