Title: Messed up PHP file
Last modified: August 18, 2016

---

# Messed up PHP file

 *  [jpommer](https://wordpress.org/support/users/jpommer/)
 * (@jpommer)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/messed-up-php-file/)
 * 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)

 *  [dennis1402](https://wordpress.org/support/users/dennis1402/)
 * (@dennis1402)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/messed-up-php-file/#post-474779)
 * 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.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [dennis1402](https://wordpress.org/support/users/dennis1402/)
 * Last activity: [19 years, 6 months ago](https://wordpress.org/support/topic/messed-up-php-file/#post-474779)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
