Hi,
I have a problem with my session variables. I set them using for e.g.,
$_SESSION["user"]=$name;
However, because of weak network links, somehow my $_SESSION variables get unset. Is
there a way to still keep the session variables even though the network is unstable??
i.e. as long as my brow
This is a very easy and clear tutorial.The basic of PHP/DB you can learn here.
http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html
Best Regards
Raja shahed
>-Ursprüngliche Nachricht-
>Von: water_foul [mailto:[EMAIL PROTECTED]
>Gesendet: Samstag, 24. April 2004
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 s
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
You can pass arrays via GET using the syntax:
http://localhost/index.php?val[1]=one&val[2]=2&...val[key]=value
Andy
Pete M wrote:
http://localhost/index.php?val_one=one&val2=2
on index.php
print_r($_GET) will show the array
echo "val l=".$_GET['val_one'];
echo "val 2=".$_GET['val2'];
its CAse s
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
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 = "http://www.main.co
http://localhost/index.php?val_one=one&val2=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
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
Hi!
You can't pass array with GET using such method.
For this purpose use
www.main.com?b["foo"]=foo1&b["foofoofoo"]=foo3 etc.
Of course I think you should use urlencode(string);
Monday, April 26, 2004, 1:55:06 PM, Sukanto wrote:
SK> Hi all, sorry for making a little mess up just now..
SK> My
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
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".
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, i
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
Nicho
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
15 matches
Mail list logo