Re: [PHP] passing ARRAYs through GET strings

2002-05-18 Thread Richard Baskett
In your html input just add [] to the name of your variable so for example: input type=text name=firstvar[] / Rick Not one of them who took up in his youth with this opinion that there are no gods, ever continued until old age faithful to his conviction. - Plato From: Navid Y. [EMAIL

RE: [PHP] passing ARRAYs through GET strings

2002-05-18 Thread SP
Hi Navid Don't you have to serialize it to put it in sessions? -Original Message- From: Navid Y. [mailto:[EMAIL PROTECTED]] Sent: May 18, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: [PHP] passing ARRAYs through GET strings Hello :) Can anyone suggest of another way, an easier way,

Re: [PHP] passing ARRAYs through GET strings

2002-05-18 Thread Richard Baskett
Oh sorry I read your message wrong.. But the idea still stands.. a href=nextpage.php?var[]=1var[]=2var[]=3Link/a Rick Sir my concern is not whether God is on our side. My great concern is to be on God's side. - Abraham Lincoln From: Navid Y. [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED]

RE: [PHP] passing ARRAYs through GET strings

2002-05-18 Thread Navid Y.
[mailto:[EMAIL PROTECTED]] Sent: Saturday, May 18, 2002 1:31 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] passing ARRAYs through GET strings Hi Navid Don't you have to serialize it to put it in sessions? -Original Message- From: Navid Y. [mailto:[EMAIL PROTECTED]] Sent: May

Re: [PHP] passing ARRAYs through GET strings

2002-05-18 Thread Richard Baskett
] Reply-To: [EMAIL PROTECTED] Date: Sat, 18 May 2002 13:51:38 -0500 To: [EMAIL PROTECTED] Subject: RE: [PHP] passing ARRAYs through GET strings Thanks SP and Richard, Well, I tested it and it works fine with sessions, without serializing it. The only problem with sending it through GET url

RE: [PHP] passing ARRAYs through GET strings

2002-05-18 Thread SP
($_SESSION['myarray']); -Original Message- From: Navid Y. [mailto:[EMAIL PROTECTED]] Sent: May 18, 2002 2:52 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] passing ARRAYs through GET strings Thanks SP and Richard, Well, I tested it and it works fine with sessions, without serializing

RE: [PHP] passing ARRAYs through GET strings

2002-05-18 Thread Navid Y.
Baskett [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 18, 2002 2:12 PM To: [EMAIL PROTECTED]; PHP General Subject: Re: [PHP] passing ARRAYs through GET strings Well what I normally do to pass very large arrays through strings.. when NOT using sessions, I use serialize, but it sounds like you didnĀ¹t

RE: [PHP] passing ARRAYs through GET strings

2002-05-18 Thread Navid Y.
] Subject: RE: [PHP] passing ARRAYs through GET strings Okay let me clarify, if I had an array like this I would just use sessions this way: $myarray = array( array('1', '2'), array('3', '4') ); $_SESSION['myarray'] = serialize($myarray); Then you can use the array on any page the user

Re: [PHP] passing ARRAYs through GET strings

2002-05-18 Thread Richard Baskett
] Reply-To: [EMAIL PROTECTED] Date: Sat, 18 May 2002 14:43:27 -0500 To: 'PHP General' [EMAIL PROTECTED] Subject: RE: [PHP] passing ARRAYs through GET strings Well Rick, Let's say I had a form with a text box and an textarea box. The text box won't contain that many strings, but the textarea

RE: [PHP] passing ARRAYs through GET strings

2002-05-18 Thread SP
Hey cool, didn't know that. -Original Message- From: Navid Y. [mailto:[EMAIL PROTECTED]] Sent: May 18, 2002 3:45 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] passing ARRAYs through GET strings No need to serialize arrays in PHP 4.0. They work seamlessly, as if you've passed a regular

RE: [PHP] passing ARRAYs through GET strings

2002-05-18 Thread SP
Rick, what exactly do you mean by using serialization without sessions? how do you do that? -Original Message- From: Richard Baskett [mailto:[EMAIL PROTECTED]] Sent: May 18, 2002 4:31 PM To: [EMAIL PROTECTED]; PHP General Subject: Re: [PHP] passing ARRAYs through GET strings Hey

Re: [PHP] passing ARRAYs through GET strings

2002-05-18 Thread Richard Baskett
. - Napolean Hill From: SP [EMAIL PROTECTED] Date: Sat, 18 May 2002 16:35:00 -0400 To: Richard Baskett [EMAIL PROTECTED], [EMAIL PROTECTED], PHP General [EMAIL PROTECTED] Subject: RE: [PHP] passing ARRAYs through GET strings Rick, what exactly do you mean by using serialization without

RE: [PHP] passing ARRAYs through GET strings

2002-05-18 Thread SP
Thanks Rick, that's what I thinking. Thought I was missing something. -Original Message- From: Richard Baskett [mailto:[EMAIL PROTECTED]] Sent: May 18, 2002 4:49 PM To: SP; PHP General Subject: Re: [PHP] passing ARRAYs through GET strings Well you can serialize an array using