Hi Everybody,

I want to add Google Language Tool in my PHP Script. Is anyone having any idea on this. Please can anybody give me some solution on this...


Regards,

Ravi

as you would any other html elements
either drop out of php and use html,

<?php /* bla bla bla */ ?>
<script type='text/javascript' src='http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/translatemypage.xml&up_source_language=en&w=150&h=50&title=&border=0&output=js'></script>
<?php  /* bla bla bla */ ?>

or echo the script code

<?php /* bla bla bla */
echo '<script type="text/javascript" src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/translatemypage.xml&up_source_language=en&w=150&h=50&title=&border=0&output=js"></script>';
/* bla bla bla */ ?>

edit:: when I type this, html entities are &encoded, they display as the entity in Daniweb unless d which would negate

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.