The Slim Framework support forum has moved to http://discourse.slimframework.com. This Tender forum is no longer maintained or monitored.

Global array

NBG's Avatar

NBG

04 Aug, 2015 01:06 PM

Solved!

The problem was inside the array itself...

Wrong:
$globaldata = array($company => "Slim Company", $city => "NYC");

Right:
$globaldata = array("company" => "Slim Company", "city" => "NYC");

  1. 1 Posted by NBG on 04 Aug, 2015 01:06 PM

    NBG's Avatar

    Solved!

    The problem was inside the array itself...

    Wrong:
    $globaldata = array($company => "Slim Company", $city => "NYC");

    Right:
    $globaldata = array("company" => "Slim Company", "city" => "NYC");

  2. Andrew Smith closed this discussion on 04 Aug, 2015 04:37 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac