search

Home  >  Q&A  >  body text

How does a PHP file run the corresponding JS file in different states of Chinese and English?

How to set up the php file to run the Chinese version of the JS file in the Chinese state and the English version of the JS file in the English state

手机用户1611143489手机用户16111434891414 days ago981

reply all(2)I'll reply

  • 沐雨轩

    沐雨轩2021-02-10 14:00:13

    There is something wrong with the way you ask questions. You need to use code and post it so that only experts can understand it. Code is the way to go.

    reply
    0
  • 沐雨轩

    沐雨轩2021-02-10 13:59:22

    Direct judgment, for example, $language='en' is English, $language='ch' is Chinese, {if $language='en'} {include file="en"}{else} {include file="ch"}{/if}

    reply
    0
  • Cancelreply