11-01-2016, 05:20 AM
i barely understand...
in the pass days i just did. a autogenerate password whit the username + a date (birthday) for their password. i have my excel whit a MD5 function and done.
but i dont understand how to do it now. i can generate random passwords for them, but i cant generate a related password for them. the last option of make a column passwordkey and alow the user to change their password is a practical solution but i dont know how to implement that.
just for the record, my knowledge is very limited but i try to do my best. even i dont know how to call another table of the mysql and put the info on the web. i am just filling users table like crazy. for call it on this way
<?=$user->data()->user_mes_1?>
i did this. for call the info from another table
$usermes_1 = $db->query("SELECT b.user_mes_1 FROM users a, usermes b WHERE a.id=b.id");
and works, but i dont know how to put it on the html.
in the pass days i just did. a autogenerate password whit the username + a date (birthday) for their password. i have my excel whit a MD5 function and done.
but i dont understand how to do it now. i can generate random passwords for them, but i cant generate a related password for them. the last option of make a column passwordkey and alow the user to change their password is a practical solution but i dont know how to implement that.
just for the record, my knowledge is very limited but i try to do my best. even i dont know how to call another table of the mysql and put the info on the web. i am just filling users table like crazy. for call it on this way
<?=$user->data()->user_mes_1?>
i did this. for call the info from another table
$usermes_1 = $db->query("SELECT b.user_mes_1 FROM users a, usermes b WHERE a.id=b.id");
and works, but i dont know how to put it on the html.