Alan Knowles wrote:

> 
> I would suggest playing with the code, try printing stuff as it goes along to
> see what is happening, remember that $o is an object so you cant print $o, but
> you can print $o->title, $o->id etc.


Note: If you have Asgard installed, you can do:

mgd_include_snippet("/Asgard/Functions/debug"); /* include it only once 
in your code (at the beginning) */

echo show_var("foobar", $foobar);


to display the content of a variable of any type in human-readable format.


> 
> regards
> 
> alan
> 

-- 
Best Regards,
David Guerizec           Free Software Developer
Aurora R&D               [EMAIL PROTECTED]
Midgard core developer   http://www.midgard-project.org/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to