Jump to content

phpMyAdmin


Jay2391

Recommended Posts

I created a DB with a table call [b]users[/b] ....

I am trying to create a field for a password on the table ...
but when i go to types I do ot have a password type option...

So what i did I made it a character field 30 charactes...

I added a test record and now I can add a function "password" to the password field...

now ths is manualy I want to do this without having to change every record...one by one


???

Link to comment
Share on other sites

There is no such thing as a password data type in mysql. Also, assuming the [i]password[/i] function you speak of is the mysql PASSWORD() function. This should not be used by client code... it is an internal function for use by mysql.

Just store your passwords as an [url=http://php.net/md5]md5[/url]'d string.
Link to comment
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.