Getting a guid

hey!

Does anybody here has an idea how to get the guid from user - in the script to edit the values (e.g. replacing them with values given by this user in a form) in his record, in database? I would be really thankfull for help!

 

  • In Elgg, the GUID is a unique identifier. If you know MySQL, you'll understand when I say that GUID is the primary key and so you cannot just go changing it to something else. My guess is there is a better way to accomplish what you're trying to do, but you'll have to explain what you are trying to do.

  • Ok, i know what it is, i know a little of mysql, too. I dont want to change guid in database, i want to change other records, while having a guid of user, who up-to-dates some data, by a form. It's like this:

    user edits some data on the site -> script is getting his guid -> while having a guid its changing a choosed values in database.

    My english is not good enough to explain it better, but i hope you have understood. : )