.
Hope this helps.
Best,
-Zak
From: Rinku
Date: Thu, 24 Jun 2004 03:07:12 -0700 (PDT)
To: Zachary Krakov
Cc:
Subject: Re: [PHP-DB] value error in PHP form
Hi Zak,
Thanks for your suggestion.
It really worked.
Now pls answer for the query described below :
I had written the code :
if(isset
Hi Zak,
Thanks for your suggestion.
It really worked.
Now pls answer for the query described below :
I had written the code :
if(isset($_POST['Variable1'])isset($_POST['Variable2']))
{
Print Rinku;
}
Here, even if variables are not set then even I am getting Output as Rinku.
Could you
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] value error in PHP form
Hi Zak,
Thanks for your suggestion.
It really worked.
Now pls answer for the query described below :
I had written the code :
if(isset($_POST['Variable1'])isset($_POST['Variable2']))
{
Print Rinku;
}
Here
On Thursday 24 June 2004 18:07, Rinku wrote:
I had written the code :
if(isset($_POST['Variable1'])isset($_POST['Variable2']))
{
Print Rinku;
}
Here, even if variables are not set then even I am getting Output as
Rinku.
Some form elements, eg input type=text ..., are always isset()
Thank you very much Kim, Its really very much useful to me. I was trying to fing the
sollution from a long time. At last you had answered me.
Thanks Once Again.
Regards,
Rinku
Kim Steinhaug [EMAIL PROTECTED] wrote:
Or
$_GET[action];
$_GET[Name];
Do yourself a HUGE favour and start using _GET
Hi. You left out the 'php' after the '?'. So it should read:
?php
print $action;
print $Name;
?
See if that helps any.
~Philip
body
form name=frmname
input type=text name=Name value=Rinku
input type=submit name=action value=Login
?
print $action;
print $Name;
?
/form
/body
/html
--
PHP Database
Hi. You left out the 'php' after the '?'. So it should read:
Actually this is most likely a register_globals issue. try.
$_GET['action'] or $_POST['action']. you'll only need to use ?php if
short_tags = off in your php.ini.
HTH
Jeff
?php
print $action;
print $Name;
?
See if that helps
This could be due to register globals on/off
Use
print $_POST['action'];
print $_POST['Name'];
Kenny
-Original Message-
From: Rinku [mailto:[EMAIL PROTECTED]
Sent: 20 June 2004 12:23
To: [EMAIL PROTECTED]
Subject: [PHP-DB] value error in PHP form
Dear All,
I have installed PHP on
Actually I want to use the function like
if($action=Login)
{
Statements;
}
But here I am not getting any value in $action even I click on it.
When I was using Linux at that time I had not this kind of problem.
Rinku
Marvin Hechanova [EMAIL PROTECTED] wrote:
You have to assign values to your name
:18 PM
Subject: Re: [PHP-DB] value error in PHP form
Actually I want to use the function like
if($action=Login)
{
Statements;
}
But here I am not getting any value in $action even I click on it.
When I was using Linux at that time I had not this kind of problem.
Rinku
Marvin Hechanova
Or
$_GET[action];
$_GET[Name];
Do yourself a HUGE favour and start using _GET and _POST
right away on all queries. Also look into the well known problems
with addslashes with globals on while your at it. On php.net there
are good explernations and examples, look into the reslash() and
11 matches
Mail list logo