Re: [PHP-DB] global vars

2002-10-30 Thread David Smith
When you redirect, you lose your variables. This means that you must send them in some form to the other script. If you change your redirect command to the following, you will see that $a gets transferred and echoed in the second script as well as the first: Header("Location: second.php?a=$a"); N

[PHP-DB] global vars

2002-10-30 Thread Tomas Kubis
Hello, I have big problem. I upgraded PHP from 4.1.2 to 4.2.3 and my scripts with doesn´t work. Please help me! in php.info register globals=On For example I have one script: first.php second.php Where I have a bug? Thank you very much Tomas Kubis -- PHP Database Mailing List (http://w

Re: [PHP-DB] global vars

2001-03-28 Thread olinux
From: "olinux" <[EMAIL PROTECTED]> To: "PHP-DB" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, March 28, 2001 2:06 PM Subject: [PHP-DB] global vars I am working with global variables and functions, specifically calling a function inside another fu

[PHP-DB] global vars

2001-03-28 Thread olinux
I am working with global variables and functions, specifically calling a function inside another function. I checked the online docs and don't see any problems with what i have... i declare the table_name as global inall functions What I am trying to do is DELETE all entries for a uid before IN