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!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Cash@costelloc
Cash - 0 likes
- richard rahl@altair69
richard rahl - 0 likes
You must log in to post replies.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. : )