Jump to content

display a table entry on a page linked from table


woodplease

Recommended Posts

Hi. i've read the contents of a database to a table, and within that table, for each record, i've created a link to another page to display more information. my problem is that i'm not sure what code needs to go on the other page, to display this extra information. the extra information is from the same table. I know the code would need to read from the url, but thats about it.

my code from the original table is

 

echo "<TD>".$row['refnumber']."</TD>
<td><a href='description.php?id={$row[refnumber]}'>".stripslashes($row[title])."</a></td>
<TD>".$row['platform']."</TD>
<TD>".$row['price']."</TD>
\n";
echo "</TR>\n";

 

When i click the link, i get the following url

/description.php?id=8

 

 

Any help would be great

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.