Skip to content

Syntax issues #4

Description

@Evi1Pumpkin

Hi there!
Loved your plugin. Really helps me on something I got stuck on.
I have a little problem with using the query tough. I'm not so sure about how to use it, and i'll be glad if you'll answer a few questions.

Let's say I have a php script that goes to the DB and selects a variable and echoes it back. I put it in the root folder of my site and call it "selectDataFromDB.php".
Then I go to "Configure Sources", add a new source (because I don't want it to be a default), give it the alias name "dbQuery", and put in the external link "http://mysite.com/selectDataFromDB.php".

Now I'm not so sure what to do from here:
Do I need to define a new variable in the "Start Editor"? and how my {{}} tag is supposed to look like?

Thanks in advance,
Ronny Orot

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions