Hi i hope I may be able to get some more advice on creating my suggestion form, or a point to any tutorials they may help creat a table form mysql where the html file and php file are seperate.
i have two files one containing only html and another with only php.
in my html file i have a table and i wish to pass into this table the values from a mysql query that is contained within the php file.
all the examples i have looked at have used both html and php in the one file.
at the moment im trying to pass the values using,"<?php echo $name; ?>" but this doesn't seem to be working.
HTML file
<?php include("SubmittedSuggestions.php"); ?>
<div class="container" style="background-image: url('http://www.worldmarkacademy.com/OurWorld/EditorBG.png');
-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover;
background-size: repeat; padding-bottom: 5px;">
<br />
<div class="mainbody" style="background-image: url('http://www.worldmarkacademy.com/Test/Notepad.png');
background-repeat: no-repeat; margin-left: auto; margin-right: auto; margin-bottom: 10px;
width: 646px; height: 800px !important; min-height: 100%; overflow: hidden;">
<div class="main-form" style="margin-top: 280px; margin-left: 15px;">
<table>
<thead>
<tr>
<th>Name</th>
<th>Site</th>
<th>Status</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<tr>
<td> <?php echo $name; ?> </td>
<td> <?php echo $site; ?> </td>
<td> <?php echo $status; ?> </td>
<td> <?php echo $date; ?> </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>