Posted by Phil Latio on 07/06/07 06:27
Here is some basic example code: $newUser = new User(); if ($newUser->SaveNewUser()) { echo "success"; } else { echo "failure"; } Question. Can I modify the above so I instantiate a new object within an if statement and apply a method all on one line? Cheers Phil
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming