7 Replies Latest reply on Apr 1, 2010 5:57 AM by WRobN1

    Problem with email form, <?php $xajax->printJavascript('xajax/'); ?> results in wrongtext on display

    WRobN1 Level 1

      ALL SOLVED! Exept 1 item; Email Form

       

       

      <?php $xajax->printJavascript('xajax/'); ?>
      

       

       

      In the header results as text being put in the top screen:

       

      printJavascript('xajax/'); ?>

       

       

      Everywhere they talk about this function, but somehow it doesnt work out right for me.

       

      These are the sites where i got this code:

       

      http://www.finalwebsites.com/tutorials/php_ajax_contact_form.php

      http://www.webbyzone.com/2010/01/10/make-xajax-phpmailer-contact-forms-work/

       

      I followed all the steps.

       

      Can someone tell me why the text is in the top and how to repair it?