• I was trying to change the heading on my submenu list and I messed up the PHP code.

    Now I get this error message when I try to save the functions.php page:

    Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in /home/pommerd/public_html/blog/wp-content/themes/pommerus/functions.php on line 75

    This is what line 75 looks like now:

    echo'<div id=”subpages><h2>Menu for ‘; echo $parent_title; echo’:</h2><ul class=”submenu”>’;

    Can anyone tell me what I messed up?

    JACK

Viewing 1 replies (of 1 total)
  • Jack,

    I’m not a php expert by a long shot, but I do see a missing ” on subpages! You have a beginning quote, no close quote. Hope this helps.

    Dennis

Viewing 1 replies (of 1 total)
  • The topic ‘Messed up PHP file’ is closed to new replies.