Hi,
How to pass var array to other page?
I use $_GET but when I echo it, it appear array...
Thanx
Sk2
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
When I create an session var ...It stored in server right??
then everytime I change the session value then it should connect to the
server to update...is it still right??
When I want to change the session value and the connection is down then the
session value won't be update??
Thanks
Hi!
At first, you chose wrong list for this question.
Second, for new topic you shouldn't reply to old letter.
Third, to view an array use
print_r($_GET);
Monday, April 26, 2004, 12:33:32 PM, Sukanto wrote:
SK Hi,
SK How to pass var array to other page?
SK I use $_GET but when I echo it, it
echo $_GET[some_var]
-Original Message-
From: Sukanto Kho [mailto:[EMAIL PROTECTED]
Sent: 26 April 2004 09:34
To: [EMAIL PROTECTED]
Subject: [PHP-DB] passing var array
Hi,
How to pass var array to other page?
I use $_GET but when I echo it, it appear array...
Thanx
Hi all, sorry for making a little mess up just now..
My problem is I want to pass var array with $_get..
eg : $a=array() then i pass to other pages www.main.com?b=$a
after that echo $b
the result is array... just that...
I want to make a product quotation so my purpose is that i
Just make sure that you type $_GET $_SESSION $_POST these variables
are case sensitive. I was stumped for a week because of this problem.
BenT
Sukanto Kho wrote:
Hi all, sorry for making a little mess up just now..
My problem is I want to pass var array with $_get..
eg : $a=array() then i
http://localhost/index.php?val_one=oneval2=2
on index.php
print_r($_GET) will show the array
echo val l=.$_GET['val_one'];
echo val 2=.$_GET['val2'];
its CAse senSitivE
you can also do a
foreach($_GET as $k = $v)
{
echo $k.=.$v;
}
Sukanto Kho wrote:
Hi,
How to pass var array to other
From: Sukanto Kho [EMAIL PROTECTED]
My problem is I want to pass var array with $_get..
eg : $a=array() then i pass to other pages www.main.com?b=$a
after that echo $b
the result is array... just that...
$safe = urlencode(serialize($a));
$url =
I thought I would mention that if you just echo or print an array, just the word
array is shown. If you do a var_dump($myArray) on the array, the values should be
shown. Otherwise you can get the values as follows:
$myArray = $_GET[b];
//then get and print values
foreach( $myArray as $num =
You can pass arrays via GET using the syntax:
http://localhost/index.php?val[1]=oneval[2]=2...val[key]=value
Andy
Pete M wrote:
http://localhost/index.php?val_one=oneval2=2
on index.php
print_r($_GET) will show the array
echo val l=.$_GET['val_one'];
echo val 2=.$_GET['val2'];
its CAse
hi,
does anyone have a login script which will take data from the table and decide
whether the given user is a admin or a normal user.
thanks in advance.
Also if there is some help on session variable I would like to know.
-
Do you Yahoo!?
Win
This is kind of a big thing. Email me and I'll give you instructions/tips
on making it.
- Original message -
From: andy amol [EMAIL PROTECTED]
To: php php [EMAIL PROTECTED]
Date: Mon, 26 Apr 2004 17:15:27 -0700 (PDT)
Subject: [PHP-DB] login script
hi,
does anyone have a login script
12 matches
Mail list logo