Ultimate Database

Printer Friendly Page

Login

Object Contents

{OBJ_CONT(obj_id, n1, c1, c2)}

Displays information from a related object relationship.

'obj_id' is the id of the relationship to the other object.

'n1' is the object part to be displayed.

'0' displays the ID of the object.
'1' displays the title of the object.
'2' displays the actual text from the object if it exists,
'3' displays the the title and the text.
'4' displays the title as '1' but as a link to the object.
'5' displays the text as '2' but as a link to the object
'6' displays an image or a full URL.
'7' displays the title as '1' but as a link to the current object.

If (a '0' is specified for 'obj_id' and the object is a user object) or (a '-1' is specified indicicating the current user) then

'1' is the user's title,
'2' is their forename,
'3' is their surname,
'4' is their email. Note that you only see the email if you're a logged in user.
'5' is their Home Country
'6' is their Login Name

'c1' is an optional tag name for the object title e.g. h3

'c2' is an optional class name for the tag specified in 'c1'

 Useful Links

Google

Bing

W3 Schools

ebay

play.com

amazon.co.uk

DELL

BBC

Rain Today

1and1