On Tue, Jul 16, 2002 at 01:45:01PM -0400, Michael Zornek wrote:
> I know this slight variation will make it work:
> echo "<p>" . $db->field('name_long');

That's not an "object variable name."  That's a function call.  You're
asking to echo "<p>" and then echoing the value returned by the field()  
function in the $db object when called with the 'name_long' argument.

That's the way you have to do it.


               PHP classes that make web design easier
        SQL Solution  |   Layout Solution   |  Form Solution
    sqlsolution.info  | layoutsolution.info |  formsolution.info
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 4015 7 Av #4AJ, Brooklyn NY     v: 718-854-0335     f: 718-854-0409

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to