How to pass parameters to lang from js? |
You can't do this like that. PHP run on the server, it send the final HTML document to the browser, then the JavaScript code run in the browser. So your JS code can't send parameter to a PHP function.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ |
Messages In This Thread |
How to pass parameters to lang from js? - by sfarzoso - 04-20-2021, 08:08 AM
RE: How to pass parameters to lang from js? - by includebeer - 04-20-2021, 04:09 PM
RE: How to pass parameters to lang from js? - by ojmichael - 04-20-2021, 07:50 PM
RE: How to pass parameters to lang from js? - by sr13579 - 04-21-2021, 10:29 AM
|