sort a table

Codes here !

Moderators: macek, egami, gesf

Post Reply
pietercdevries

Re: sort a table

Post by pietercdevries » Tue Feb 18, 2014 3:00 pm

So whats the error say?

echo "<table border='1'>
<tr>
<th><A HREF='asite.php?orderby=title'>title</a></th>
<th>Image</th>
<th><A HREF='asite.php?orderBy=score'>score</A></th>
<th>Link</th>
</tr>";

or

echo "<table border='1'>";
echo "<tr>";
echo "<th><A HREF='asite.php?orderby=title'>title</a></th>";
echo "<th>Image</th>";
echo "<th><A HREF='asite.php?orderBy=score'>score</A></th>";
echo "<th>Link</th>";
echo "</tr>";

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest