https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× This is the optional Forum header for the Suggestion Box.

Pre-purchase question

  • 4ZFood
  • 4ZFood's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 10 months ago #615

I have two tables in my joomla database with data that I wish to present in a joomla article. One table has 3 text fields i need (and an id field in common with the other table), and another table has one data field that I need.

Firstly, can I link 2 tables in Table JX?

Secondly, the data field in the second table is in comma delimited form. I need each data element in the comma delimited field separated into its own column. Is that possible?

Thanks in advance.

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #619

Hi,
Not yet.

This is possible with SQL. You can create View and display view with Table JX. If you need help, send us mail with details.

Example:

CREATE VIEW Something AS
SELECT substring_index(field,', ', 2), substring_index(field,', ', -2)
FROM Table


Best regards,
Viljem

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.150 seconds

Contact Us

Contact us on Discord

Contact us on Facebook