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
https://forums.phpfreaks.com/topic/25594-phpmyadmin/
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
https://forums.phpfreaks.com/topic/25594-phpmyadmin/#findComment-116810
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.