View Single Post
Old 03-19-2008, 10:05 AM   #1 (permalink)
TlcAndres
The Addict
 
Join Date: Nov 2007
Posts: 264
Thanks: 2
TlcAndres is on a distinguished road
Default What do you find more comfortable?

Well I use my own framework for coding (it's time for a complete rewrite) and some of my friends use as well and I'd like the opinion of some fellow coder and what you find more comfortable using (it's also for programmers who work on my script after I deliver it to client)

methods like this
PHP Code:
<?php

$usercheck 
member::login('chuck','secret');

?>
or

PHP Code:
<?php

$member 
= new member();
$usercheck $member->login('chuck','secret');

?>
__________________
"What everyone seems to forget is that while knowledge certainly is something - it's the implementation of knowledge that brings power" - Andres Galindo.
TlcAndres is offline  
Reply With Quote