我的网站有5种语言,这是由这个变量ICL_LANGUAGE_CODE决定的-我在我的php文件中使用这个变量来改变显示的内容,这取决于用户选择的语言。该网站有一个联系形式捆绑在一起,我可以通过一个php文件进行编辑。该表单包含一个v2 Google reCaptcha。reCaptcha问题的语言是自动的-但它不能很好地工作。例如,如果一个人在西班牙,语言是西班牙语,即使他们是荷兰
如果满足某一条件,如何更改列及其列名的输出值?假设我有表A,它有3列id,问候语,姓名,姓氏,性别select * from Aselectsalutation to Mr. else, set salutation to Ms. but then change the salutation into alias namePrefix
如何
为了保持它的灵活性,我还需要在sql语句中加入一些php变量。这个常态是通过如下所示的连接来完成的:
select * from table1 where userid = ".select * from table1 where userid = '.$actual_user.' and ...select * from table1 where userid = $actual_user and ..