skip to Main Content

I am using the below query for a single word in phpmyadmin:

call insertIntoWPPOSTMETA('episode 2');

But when I try to use it like this, it does not work:

call insertIntoWPPOSTMETA('episode 2','episode 2');

How can I use 2 words or more at the same time?

2

Answers


  1. Chosen as BEST ANSWER

    solved with

    BEGIN
    
    END
    

    thanks to guys


  2. You are calling a function. Unless it is programmed to somehow accept more than one string, its not going to.

    Edit:
    You could write your desired query by concatenating the strings like this:

    SELECT "call insertIntoWPPOSTMETA(" + column + ");"
    FROM table
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search