What's better for my code below |
I am just trying to figure out what is more appropriate these days. What is better having my validate password function at top
PHP Code: public function login($username, $password) { Or like so or wrapped around PHP Code: public function login($username, $password) { PHP Code: public function validate_password($username, $password) {
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
What's better for my code below - by wolfgang1983 - 02-21-2017, 02:41 AM
RE: What's better for my code below - by Wouter60 - 02-21-2017, 07:25 AM
RE: What's better for my code below - by kidino - 03-15-2017, 01:22 AM
|