hi all,
im current doing a assignment,
i looking for a solution for my problem,
now i have a database to store my item information include item name,id,content,price.
actually it is a bidding system,
if someone bid on the item, the item id will stored into the buyer informatio,
and the buyer's id will store into item information as well,
now i want to know how can i link redirect the user to the item's page when he click on the item's id under his information?
let me know if my question very confuse
thank you

Recommended Answers

All 2 Replies

I guess you just pass the id in the url parameter say url.php?id=56 and then retrieve it using $_GET.

//link
$a = 123;
echo '<a href="page.php?id='.$a.'">go to bla</a>';
//page.php?id=123
GET['id']
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.