[PHP-DB] Session

2004-04-26 Thread Ng Hwee Hwee
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

[PHP-DB] // FW Water_foul AW: [PHP-DB] Hi I am new

2004-04-26 Thread Shahed, Raja
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

Re: [PHP-DB] login script

2004-04-26 Thread Marcjon Louwersheimer
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

[PHP-DB] login script

2004-04-26 Thread andy amol
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

[PHP-DB] Re: passing var array

2004-04-26 Thread Andy Ladouceur
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

RE: [PHP-DB] more detail..passing array_var with $_get

2004-04-26 Thread Swan, Nicole
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

Re: [PHP-DB] more detail..passing array_var with $_get

2004-04-26 Thread John W. Holmes
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

[PHP-DB] Re: passing var array

2004-04-26 Thread pete M
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

Re: [PHP-DB] more detail..passing array_var with $_get

2004-04-26 Thread BenT
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

Re: [PHP-DB] more detail..passing array_var with $_get

2004-04-26 Thread Mikhail U. Petrov
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

[PHP-DB] more detail..passing array_var with $_get

2004-04-26 Thread Sukanto Kho
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

RE: [PHP-DB] passing var array

2004-04-26 Thread Peter Lovatt
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".

Re: [PHP-DB] passing var array

2004-04-26 Thread Mikhail U. Petrov
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

[PHP-DB] session problem

2004-04-26 Thread Sukanto Kho
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

[PHP-DB] passing var array

2004-04-26 Thread Sukanto Kho
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