Really simple question -
I'm working with DreamWeaver (sorry if that's against etiquette -- but you gotta start somewhere).
I have a DreamWeaver "repeating region", which pulls data from a MySQl database and dumps results into a table. All of this is working fine.
I've pasted in my code for the table, which is working fine without the link. I've also pasted in what I think the link should be - this would replace everythin in the second <td> </td> - within the first chunk of code.
Could someone please let me know if I'm on the right track, or if I should try a completely different approach? I think this is just a syntax problem with quoting or concatenation or something.
Help!
<table>
<?php do { ?>
<tr>
<td><?php echo $row_returnAllProjects['project_id']; ?></td>
<td><?php echo $row_returnAllProjects['projectName']; ?></td>
<td><?php echo $row_returnAllProjects['projectSum']; ?></td>
<td><?php echo $row_returnAllProjects['dueDate']; ?></td>
<td><?php echo $row_returnAllProjects['initDate']; ?></td>
</tr>
<?php } while ($row_returnAllProjects = mysql_fetch_assoc($returnAllProjects)); ?>
</table>
<?php echo "<a href='projectDetail?project_id='" . $row_returnAllProjects[project_id] . '>' . $row_returnAllProjects[project_name]. "</a>" ?>