link placement..
Posted: Thu Mar 17, 2005 4:24 am
since last week, ive been trying to figure out what's wrong with my code....i made a function so it can verify if the he owns the thread and if it his, he can edit it.....it is well functioning, thanks to the guys here....but my problem is that....when i place the function inside the formatted table, the edit link do not place where i want it to be.....say....i want to place it inside the
* the bold is the function i was talking about....
when i do this, the edit link was placed right before the table called....
i don't know where the problem is...can you guys spot it..
BTW, the format of the function is
Code: Select all
echo "
<tr valign=top class=tablehead align=center>
<td width=15% class=tablehead><table><tr><td><font color=#ffffff><b/>Author</font></td></tr></table></td>
<td width=85% class=tablehead><table><tr><td><font color=#ffffff><b/>Message</font></td></tr></table></td>
</tr>
<tr valign=top>
<td width=15% class=tableborder align=center><table><tr><td>$row[4]</td></tr></table></td>
<td width=85% class=tableborder><table width=100%><tr><td>
<b>Accomplishments:</b><br>".nl2br($row[1])."<p>
<b>Issues:</b><br>".nl2br($row[2])."<p>
<b>Recommendations:</b><br>".nl2br($row[3])."<p>".[b]editreport()[/b]."
</td></tr></table>
</td>
</tr>when i do this, the edit link was placed right before the table called....
i don't know where the problem is...can you guys spot it..
BTW, the format of the function is
Code: Select all
echo '<a href="e;reportedit.php?eid='.$_GETї'pid'].'"e; class=under>EDIT</a>';