Jump to content

Multiple {query} inputs


Recommended Posts

Whats the general consensus for dealing with multiple inputs?  Is it possible to do something along the lines of:

{query}[0]
{query}[1] 

to get space-separated input parameters?  Or do I need to do something more like:

$vars = explode({query}, ' ');

How do others normally deal with this?

Edited by danielsgroves
Link to comment

Whats the general consensus for dealing with multiple inputs?  Is it possible to do something along the lines of:

{query}[0]
{query}[1] 

to get space-separated input parameters?  Or do I need to do something more like:

$vars = explode({query}, ' ');

How do others normally deal with this?

 

Daniel! What up dude? :)

 

Yeah man it all comes across as one big string so you'd have to split it yourself using explode or the equivalent for whatever language you want to use.

Link to comment

Sweet, thats what I thought. Cheers mate!

 

Got a couple of quick workflows to write to make life a little easier now ;-)

 

Awesome. Be sure to post them in the Share Your Workflows area for the rest of us too :)

Let me know if you need any more help.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...