[eluser]The Beginner[/eluser]
I k now this is simple for most of you but i am still a beginner. When I call the function below I get unexpected T_CONSTANT_ENCAPSED_STRING in C:\xamp\htdocs\wpapp\models\wpHeaderModel.php on line 39
[code]
function getSplashData()
{
for ($counter = 0; $counter <= 59; $counter++) {
====> this is line 39 $arr[$counter] = "\"<div style=\"height:700px; width:700px;background-color: rgb (256,256,256);\"><img /></div>\"";
}
$name = 'arr';
$jsdata['jsvar'] = array_to_js_string($arr, $name);
$return($jsdata);
}
Please Help, Thanks :-S