• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Use text Field name or Caption in SQL Request

Use text Field name or Caption in SQL Request 7 years 7 months ago #37358

  • Pierrot1
  • Pierrot1's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
Hello,
I have a lot of text field in my form and I want to use the Text field Name or Caption in an SQL query to show a default value, so I can use the same default value code in all the fields, but with the result concerning each field.
I could not find any way to get the field name/caption.
Do you have any idea. Thanks.
$db->setQuery("SELECT * FROM `xxx` WHERE `Fieldname` = 'THE TEXT FIELD NAME OR CAPTION'");
Last Edit: 7 years 7 months ago by Pierrot1.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!