7 years ago
1
Topic

Hello,

I was wondering how to include an SQL query in the Code Pack.  And how to display the result (e.g. 1 result), or use the result as a variable or echo it

Any help would be appreciated. 

Thank you

Get a Book for SEBLOD
1283 Posts
Bucklash
7 years ago
0
Level 1

Hi

Check out the code example at the end of example 1 in this tutorual:

create-content-dynamiclly-using-code

Also you need to check out this page:

Inserting,_Updating_and_Removing_data_using_JDatabase

Bucklash

Get a Book for SEBLOD