Jump to content

Recommended Posts

Hi all

 

I have a sql table called "member_details" and I have a field in that table called "myid", currently there is about 2,500 records in this table.

 

I need to populate the field "myid" with a random MD5 string, such as

 

2f35400aba6fe42f51f48acc34b35e11

 

This is not a password, it's simply a ID number for each person.

 

Is there a way to run a query in phpMyAdmin on the whole table "members_details" which will add in a MD5 string into the field "myid", without having to go through insert one manually.

 

Any help would be great

 

Thanks in advance

 

Ed

Link to comment
https://forums.phpfreaks.com/topic/36641-inserting-a-random-md5-into-sql/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.