Jeremy

Thanks! :) That works.

But now, i thought i was ready.... i noticed another problem.
The debug output above is for a port, which has no value in the field
"uplink_id". But the port with "id" -> 3 has value 1 in "uplink_id".
So port with id 3 points to port with id 1.
Now, the problem is, that i need the "hardware_unit" in the table cell
with the "uplink_id" (in my example port with id 3), not in the cell
to which points this "uplink_id" (in my example port with id 1).

Any ideas?

[view retrieve code]
<td> <?php echo $port['Port']['uplink_id']; ?>
         <?php if ($port['Port']['uplink_id'] != NULL) { ?> <?php echo
"("; echo $port['Port']['0']['HardwareUnit']['schenker_number']; echo
")"; } ?></td>
[/code]

i despair of this problem :(

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

To unsubscribe from this group, send email to 
cake-php+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to