Rabbitmq+php array passing

227 views
Skip to first unread message

Arun S

unread,
May 11, 2015, 1:42:12 AM5/11/15
to php-amqp...@googlegroups.com
how to pass an array of values and save it to  different variables in reciever page

Andréy Maksímov

unread,
May 11, 2015, 3:29:57 AM5/11/15
to php-amqp...@googlegroups.com
Arun,

did you try JSON?

On Mon, May 11, 2015 at 8:42 AM Arun S <arun....@gmail.com> wrote:
how to pass an array of values and save it to  different variables in reciever page

--
You received this message because you are subscribed to the Google Groups "php-amqplib-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-amqplib-de...@googlegroups.com.
To post to this group, send email to php-amqp...@googlegroups.com.
Visit this group at http://groups.google.com/group/php-amqplib-devel.
For more options, visit https://groups.google.com/d/optout.

Arun S

unread,
May 11, 2015, 5:12:14 AM5/11/15
to php-amqp...@googlegroups.com
i tried json still not working

Andréy Maksímov

unread,
May 11, 2015, 6:20:09 AM5/11/15
to php-amqp...@googlegroups.com
do you have any details on what is not working?

and it's not very clear for me why do you need to save the values from the array to _different_ valiables.

anyway, you can pass a string which may be a JSON-encoded object. once it's received, you can use json_decode() to get an array or stdClass object, depending on params passed. so, get values from the result and store them wherever you need.

Rudy Burriss

unread,
May 20, 2020, 8:23:14 AM5/20/20
to php-amqplib-devel
I am having problems compiling the server, please can anyone assist, I am wiling to pay for the time.
Reply all
Reply to author
Forward
0 new messages