suresh kumar wrote:
hai,
this is my sample code:
i am having user table with SponsorID as one field in
mysql database,this is my query;
for($j=0;$j5;$j++):
$result=mysql_query(select * from user where SponsorID='$id[$j]' );
endfor;
Jason Giangrande [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
When registered globals is set to off this does not effect the $PHP_SELF
variable right? In other words I should be able to call $PHP_SELF with
out having to do this $_SERVER['PHP_SELF'], right?
Thanks,
Jason
Maybe you could use sessions like:
session_start();
session_register('verified');
$verified=0
Erich Kolb [EMAIL PROTECTED] skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have developed a simple login script. Right now it will check a
submitted
username and password and
Thomas Brodkorb wrote:
Hi folks,
small problem with globals:
I would like to set a variable global called Language
This seems to be not a really problem, but it is
Indexphp:
?php {
session_start();
if (!session_is_registered('Language')) {
session_register('Language');
Nafiseh Saberi [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
hi.
I want to use glabal variable.
?
global $a;
?
but it doesnot work??
... why do you think you need to use global here?
global is used *in a function* to let it see
external variables.
Read References explained section in PHP Manual.
You'll see why it does not work as you expected.
--
Yasuo Ohgaki
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have a class that contains a form, when the form is submitted it
posts back to
6 matches
Mail list logo