Jump to content

unique id


cherylinn

Recommended Posts

Hi, i have a question on unique id. I am creating a page for user to register their account with a unique id given. When user has successfully created, the page will direct them to another page that display their unique id. How do i make sure the unique id in the successful page is the same as the unique id given in the page they are registering?

 

For example,

$name = uniqid();

echo "$name";

Link to comment
https://forums.phpfreaks.com/topic/265109-unique-id/
Share on other sites

It's more than likely homework, judging by previous posts.

So do it right now, and we won't have to tell him to change it later for the next assignment ;)

 

And if the goal of the assignment was to learn how to pass variables through requests?

 

Who knows, most intro IT teachers are pretty clueless.

Link to comment
https://forums.phpfreaks.com/topic/265109-unique-id/#findComment-1358941
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.