syntax error
-
can some one tell me how to fix this error??
Warning: date() expects parameter 2 to be long, string given in /home/lennox/public_html/wp-content/themes/johnlennox/page-events.php on line 62
Warning: date() expects parameter 2 to be long, string given in /home/lennox/public_html/wp-content/themes/johnlennox/page-events.php on line 63
code is
$endday = date( ‘D’,$custom_fields[‘wpcf-eveend’][0] );
$enddate = date( ‘d’,$custom_fields[‘wpcf-eveend’][0] );
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘syntax error’ is closed to new replies.