Jump to content

Get Id


ryan1234

Recommended Posts

I've got a SQL database that contains the columns id, title and text. On my home page it displays all the rows of the table, but the text (usually many paragraphs of text) is shortened, and there is a link for each 'Read more', which I want it to redirect to a page where the whole text for the specified row is displayed.

 

How do I go about setting up this page?

 

My thoughts are that the id of each text is sent when 'Read more' is clicked and therefore this id can be used to retrieve that row of the table and get the text.

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/271768-get-id/
Share on other sites

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.