The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
v.5 -- Didn't know where else to post this so...
#16
Ok, that helped.

I'm now working on a loop to create the breadcrumb and this....

do{
$query = $db->query("* FROM pages WHERE id = ?",array($parent_page_id));
$results = $query->results();
$parent_page_path = $results->page;
$parent_page_title = $results->page_title;
$breadcrumb .= '  »  <i class="fa fa-home"></i> ' . $parent_page_title . '';

$new_parent_page_id = $results->parent_page_id;

} while ($new_parent_page_id != 0);

...isn't working. It's not getting all of the info. from the pages table. The $parent_page_id is set correctly.

Thoughts?
  Reply


Messages In This Thread
v.5 -- Didn't know where else to post this so... - by gtilflm - 11-02-2016, 04:12 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)