Title: Parser erro
Last modified: August 19, 2016

---

# Parser erro

 *  [suchigeorge](https://wordpress.org/support/users/suchigeorge/)
 * (@suchigeorge)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/parser-erro/)
 * im getting the syntax error when the onclick event is used inside the php variable
   
   the following code is <?php do_action( ‘get_search_form’ ); if ( ” != locate_template(
   array(‘searchform.php’), true) ) return; $form = ‘<form method=”get” action=”‘.
   get_option(‘home’) .’/”><p class=”clsSearchText”><input type=”text” value=”Zoeken’.
   attribute_escape(apply_filters(‘the_search_query’, get_search_query())) .'”**
   onClick=”this.value=”;return false**” name=”s” id=”s”/></p></form>’; echo apply_filters(‘
   get_search_form’, $form); ?>

The topic ‘Parser erro’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [suchigeorge](https://wordpress.org/support/users/suchigeorge/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/parser-erro/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
