MySQL Forums
Forum List  »  PHP

How do I assign unique id to call data?
Posted by: Olufemi Adeyemo
Date: November 27, 2011 03:56PM

Hi friends,

I need your help concerning this issue. How do I call data of a user from database to appear on a page with an assigned unique id referral link like this: id number in the database)

for each registered user of my site with a common web-page for all? What code do I use?

Although I used the code below it worked fine only when I put the particular member‘s id in the select code:

mysql_query(“SELECT * FROM $tablename WHERE id=12345“) or die (mysql_error());

but I want to use a common page for all members while each of them will have a unique referral id link like the one above assigned to them.

Your assistance will be greatly appreciated. Thank you in advance.

Options: ReplyQuote

Written By
How do I assign unique id to call data?
November 27, 2011 03:56PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.