.
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
,
Best,
-Zak
On 6/20/04 4:34 AM, Kenny wrote:
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
[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()
June 2004 12:23
To: [EMAIL PROTECTED]
Subject: [PHP-DB] value error in PHP form
Dear All,
I have installed PHP on WinXp. I am using MySql as Backend on Apache
server.
Now the problem is..
I am writing this code :
[input]
[input]
print $action;
print $Name
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
Dear All,
I have installed PHP on WinXp. I am using MySql as Backend on Apache server.
Now the problem is..
I am writing this code :
html
head
title
/head
/title
head
body
form name=frmname
input type=text name=Name value=Rinku
input type=submit name=action value=Login
?
print $action;
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
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
'];
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 WinXp. I am using MySql as Backend on Apache
server.
Now the problem
12 matches
Mail list logo