Use of undefined constant
-
Please change this code to have single quotes around the keys. It throws a notice!
#### Current Code
array_push($pins, array( title => $title, image => $image, url => $url ));
#### New Code
array_push($pins, array( 'title' => $title, 'image' => $image, 'url' => $url ));
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Use of undefined constant’ is closed to new replies.