- Code: Select all
<?php
$bnum_arr = $node->field_itembnum;
$desc_arr = $node->field_itemdesc;
?>
Further down the page he called in itembnum with this:
- Code: Select all
<?php
if ($page != 0) {
print DL_functions_booklist_show_item($bnum_arr);
?>
I checked the function and found the code that called in the items required of that field. However, I cannot for the life of me figure out what the PHP code would be to call in the $desc_arr. The published page which features this code can have several of these blocks ($bnum_arr and $desc_arr), so I need to make sure that the resulting PHP code will print like so:
Item number
Item description
Item number
Item description
Previous attempts have resulted with all the Item number fields printing together and then the Item description fields attached to the very bottom of the Item number list. I'd really appreciate some insight since I'm completely stuck!

