×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Joomla 3.x - About the SQL query field type limits
Michaël Brantus
New Member
Posts: 4
9 年 5 个月 前 #858
由 Michaël Brantus
Joomla 3.x - About the SQL query field type limits was created by Michaël Brantus
Hello everyone !
I have a question about the SQL field type in the component creator.
I try to get a list of values and keys from a MySQL table
When I use this query in my SQL field
Now I need to add an empty value in my list using this query
If someone have an idea to resolve this, I only want to add a blank line in my list
I have a question about the SQL field type in the component creator.
I try to get a list of values and keys from a MySQL table
When I use this query in my SQL field
This query works fine with my component in Joomla 3.xSELECT name, id FROM myTable ODER BY name
Now I need to add an empty value in my list using this query
This query works fine when i run it on PHPMyAdmin but now my component in Joomla 3.x does't work i only get a connexion error in my browser.SELECT name, id FROM myTable UNION '' as name, NULL as id ORDER BY name
If someone have an idea to resolve this, I only want to add a blank line in my list
Please 登录 或 注册一个帐号 to join the conversation.
Michaël Brantus
New Member
Posts: 4
9 年 5 个月 前 - 9 年 5 个月 前 #860
由 Michaël Brantus
Replied by Michaël Brantus on topic Joomla 3.x - About the SQL query field type limits
I reply to myself
When i modify the SQL query with my code editor it works !
It was just a problem with the quotes converted in html quotes
When i modify the SQL query with my code editor it works !
It was just a problem with the quotes converted in html quotes
"e
Last edit: 9 年 5 个月 前 by Michaël Brantus.
The following user(s) said Thank You: Andres Maeso
Please 登录 或 注册一个帐号 to join the conversation.
创建页面时间:0.050秒