I have a form to add content in database(addcontent.php) and one file which shows the content(content.php).Database has id,title,content columns. IS it possible to make the content.php to "$_GET" the id's from the database and show them on the page as : content.php?id=1
And other thing. i have buttons in content.php which i want to make them dinamicaly working (hyperlink to sent to "content.php?id=2" and etc.)
On your content.php page if you want to pull the 'id's from the db and use them in a hyperlink it would be done like so:
$query=mysql_query("SELECT id FROM table_name WHERE id <> '' ");
echo '<a href="content.php?id='.$id.'">Some Text</a>';
This will create a hyperlink for every id in your table. Since you want to put this code on page "content.php" all it's really going to do is reload the page with a different 'id' in the url when it's clicked.
When the page reloads you can then $_GET the id as such if that is what you want to do:
The value of $get_id will change each time a new link is clicked.