Forum Archive - problem about translatingPro php/html input code

problem about translatingPro php/html input code
Jun 11, 2012 4:04 pm by sasakerkez
Hi, Yana. I am making bizcombook.com I have probem about articles which contan php and html code: input radio buttons and drop lists, and similar. When I activate translating in some non-default language (I use english as default) - I get bad page... Do you have any advice about this? Regards Sasa
Re: problem about translatingPro php/html input code
Jun 12, 2012 2:15 pm by Yana
Hi, Could you please send me an example?
Re: problem about translatingPro php/html input code
Jun 12, 2012 2:46 pm by sasakerkez
Hi, Yana. here is one example: <input type="radio" name="myc01" value="1" <?php echo $myc01ch0; ?> > No <input type="radio" name="myc01" value="2" <?php echo $myc01ch1; ?> > Yes Notes: - myc01 is name of variable - $myc01ch0 and $myc01ch1 contains 'checked' or '' (nothing), depending on that what option fas to be checked (not always the same). There is problem with list box, too, very similar, but let this be enough for now :) Thank you very much, your very kind... Regards... Sasa
problem about translatingPro php/html input code - example
Jun 12, 2012 3:44 pm by sasakerkez
<?php $myc01='1'; $myc01ch0='checked'; $myc01ch1=''; ?> <input type="radio" name="myc01" value="1" <?php echo $myc01ch0; ?> > No <input type="radio" name="myc01" value="2" <?php echo $myc01ch1; ?> > Yes
Re: problem about translatingPro php/html input code
Jun 19, 2012 4:27 pm by Edvard
What do you see instead of <input type="radio" name="myc01" value="2" checked> Yes after translation? Can you post the link where we can see the issue? Try to use self closing tag for input /> instead of > may be it will solve the issue.

SIMILAR TOPICS

Large numbers of crawl errors with double language codeJan 24, 2019 1:43 amReplies: 1Post by: natastna2
Joomshaper Pagebuilder buttons Link edit problemJan 11, 2019 10:04 amReplies: 1Post by: kumatest
Problem with pluginDec 30, 2018 11:59 pmReplies: 1Post by: Iyari
Problem of translation in my websiteDec 8, 2018 12:15 pmReplies: 1Post by: Ibrahim
AJAX requests sent to wrong (with language code) URLSep 27, 2018 10:16 amReplies: 3Post by: atriaforever

Try GTranslate with a free 15 day trial