How can I include an string in an array?
emailconfig.php
$globalemail '[email protected]'=>'site'";
I want to make a new array like this:
sendemail.php
include "emailconfig.php"
$fulllist=array('[email protected]'=>'forum', '$globalemail');
// the Array MUST must appear above, ideally it would look like this
// $fulllist=array('[email protected]'=>'forum', '[email protected]'=>'site');
It brings PHP error because of the =>
$globalemailcontains the string"[email protected]'=>'site'"? (p.s. it's missing a'beforeinfo)$globalemail '[email protected]'=>'site'";is not valid PHP. What exactly doesemailconfig.phpcontain?