I get the value in the database and click on the id field how i past(get
) this field to other location can anyone help me

Let's say you have the number 2 stored in the variable $id, meaning $id = 2 and you want to pass it to the next page, you would write something like this:

echo "<a href = 'next_page.php?id='".$id."'>Next Page</a>";

Now the value you passed to the next_page.php is stored in

$_GET['id'];

If this is not what you mean, please let me know.

If this is what you were looking please mark this thread as solved.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.