How to show content of a mysql table when the id is passed from one page to another? : I have a Table named table1 in Database named db1. Then, I have a fields named id, title & content in table1. When i Clicked submit button in the page 'add.php' The data in add.php page will be added to 'Title' & 'content' fields.

Then, in the 'index.php' file, I want to show Title & Content. And i want to make the Title a URL links to 'view.php'. When the title url is clicked, It will load view.php, But how do i show the Content of the clicked Title in 'view.php' file?

**add.php**

    mysql_query("insert into discussions(id, title, content)VALUES('', '$title', '$content')");

**index.php**

    echo '<tr><td><a href="????">' . $row["title"] . '</a></td><td>' . $row["dtime"] . '</td></tr>';

I am Asking what should i insert to the

    <a href="">

value &,

**view.php**

    // What should be included on this page.

Please Kindly Tell me before Downvoting this question if you don't understand what i asked. If you understand & See anything wrong in the question, Please edit this. Hope an answer soon. Thank you.