Jump to content
Sign in to follow this  
danielsgroves

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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

Ah don't worry I'll always share everything :D

 

I just wanna stick a blog post together to document them properly then I'll get them uploaded. Should be able to do it this weekend at some point. 

Share this post


Link to post

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
Sign in to follow this  
×