Ok I've been banging my head on this for hours 😕,
I'm trying to add dynamic content to a site (I think thats right),
in html I have a table
<P ALIGN="CENTER">{title}</P>
<TABLE width="100%" height="100%" BORDER="1" ALIGN="center"" CELLSPACING="4" bordercolor="#000000" background="images/menubackground.gif"; font-family: monospace; font-size: 10pt>
<TR>
<TH>Nav Column</TH>
<TH>Column 2</TH>
<TH>Column 3</TH>
</TR>
<IF NAME="if_var"> <LOOP NAME="table_rows">
<TR>
<TD>{column_1}</TD>
<TD>{column_2}</TD>
<TD>{column_3}</TD>
</TR>
</LOOP NAME="table_rows"> </IF NAME="if_var">
</TABLE>
and fill this in PHP file with
$table_rows = array();
$table_rows[] = array( 'column_1' => $file,
'column_2' => 'this is col 2 from row 1',
'column_3' => 'This is column three on row one!'
);
$table_rows[] = array( 'column_1' => 'This is column one on row two!',
'column_2' => 'This is column two on row two!',
'column_3' => 'This is column three on row two!'
);
I'm trying to make the $file and external text file, which I can change from a click
Somebody please tell me where I'm going wrong
Thank you