Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION A page as a host for information about other pages
#5
Probable your foreach() construct is wrapped in a function call:

PHP Code:
your_function() {
    foreach(
$pagesArray as $key => $value) {
    ...


You'll need to make the $pagesArray available locally:

PHP Code:
your_function() {
    global 
$pagesArray;
    foreach(
$pagesArray as $key => $value) {
    ...


But this is really basic knowledge
Reply


Messages In This Thread
RE: A page as a host for information about other pages - by Bigin - 2017-08-10, 18:30:42



Users browsing this thread: 1 Guest(s)