Re: [PHP-DB] value error in PHP form

2004-06-24 Thread Rinku
nt "Rinku"; } Let me know if this works. 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 de

Re: [PHP-DB] value error in PHP form

2004-06-24 Thread Jason Wong
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 , are always "isset()" even wh

Re: [PHP-DB] value error in PHP form

2004-06-24 Thread Zachary Krakov
24 Jun 2004 03:07:12 -0700 (PDT) To: Zachary Krakov <[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[&#x

Re: [PHP-DB] value error in PHP form

2004-06-24 Thread Rinku
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 y

Re: [PHP-DB] value error in PHP form

2004-06-23 Thread Zachary Krakov
The reason for this is due to the variable "$action" not having any relation to the action. Therefore, you should use the following if/then statement: if ($submit !== '') { // STATEMENTS } The "submit" name/value pair variable passed via your form is a named variable that possesses the value

Re: [PHP-DB] value error in PHP form

2004-06-23 Thread Zachary Krakov
Hi Rinku, One problem I see is that the HTML tags appear to be off... Your HTML is improperly formatted, which could be causing rendering anomalies to occur, in addition to the register globals issue which I'll mention shortly. Please correct your HTML code to read: YOUR_PAGE_TITLE_HERE HTML_B

Re: [PHP-DB] value error in PHP form

2004-06-21 Thread jeffrey_n_Dyke
>>Hi. You left out the 'php' after the ' See if that helps any. ~Philip > > > > > print $action; > print $Name; > ?> > > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To un

Re: [PHP-DB] value error in PHP form

2004-06-21 Thread Philip Thompson
Hi. You left out the 'php' after the ' See if that helps any. ~Philip -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] value error in PHP form

2004-06-20 Thread Rinku
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

Re: [PHP-DB] value error in PHP form

2004-06-20 Thread Kim Steinhaug
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

Re: [PHP-DB] value error in PHP form

2004-06-20 Thread Kris Geens
Maybe this might work -- -- - Original Message - From: "Rinku" <[EMAIL PROTECTED]> To: "Marvin Hechanova" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, June 20, 2004 2:18 PM Subject: Re: [PHP-DB] value

Re: [PHP-DB] value error in PHP form

2004-06-20 Thread Rinku
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 n

RE: [PHP-DB] value error in PHP form

2004-06-20 Thread Kenny
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 Win