3 ms·
I always name things according to what I'm doing. $dbname might be for the name in the database. $dbpass for password. $dbipddr logging of ip address. $dbdark
by mattbgates 7y ago
I always name things according to what I'm doing.
$dbname might be for the name in the database.
$dbpass for password.
$dbipddr logging of ip address.
$dbdark might be a setting for light or dark theme.
In the databasae, it's just named as Name, Pass, IPAddr, DarkTheme or whatever. I've very rarely ever had to change names. But before I even start a project, I outline not only what the project is going to do, but how the database will look and function as well.
- itm 7y ago(I hope you actually don't store passwords in clear text in your database :) )
- mattbgates 7y agoSecurity and privacy is something I strive to have... I would want the same for anyone who uses anything I create.