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.