php - showing syntax error, unexpected ' please can any one know why this error? -


this question has answer here:

function multiform_test_menu() {   return array(     'multiform_test' => array(       'access callback' => true,       'type' => menu_callback,       'page callback' => 'multiform_get_form',       'page arguments' => array(array('multiform_test1'), array('multiform_test2')),     )   ) } 

showing

syntax error, unexpected '

please can 1 know why error??

function multiform_test_menu(){   return array(     'multiform_test' => array(         'access_callback'   => true,         'type'              => menu_callback,         'page_callback'     => 'multiform_get_form',         'page_arguments'    => array(array('multiform_test1'), array('multiform_test2')),     )   ); } 

you need semicolon after return;


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -