WordPress.org

Forums

search form (2 posts)

  1. twowarm
    Member
    Posted 1 year ago #

    My search form:

    ...........
    '<div class="awqsf_box"><p class="awqsf-button"><input type="submit" id="awqsf_submit" value="'.$options[0]['button'].'" alt="[Submit]" name="wqsfsubmit" title="Search" /></p></div>';
    echo '<input type="hidden" name="lang" value=" <?php echo qtrans_getLanguage(); ?> ">'; 
    
    echo '</form>';

    the search result is like this: http://itransl.com/?s=9eab94f60d&formid=3321&skeyword=+First+Avenger+&wqsfsubmit=Search&lang=+echo+qtrans_getLanguage%28%29%3B+

    <?php echo qtrans_getLanguage(); ?> doesn't work. Why?

    Please help.

  2. VonSappy
    Member
    Posted 7 months ago #

    Same here for <button class="search" type="submit" id="searchsubmit" input type="hidden" name="lang" value="<?php echo qtrans_getLanguage(); ?>">{$label}</button>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.