answersLogoWhite

0

Why your IF Statement not working?

Updated: 11/11/2022
User Avatar

Thusyanthan

Lvl 1
9y ago

Best Answer

<?php $a = $_POST['name2'];

if($a=='Hello'){

echo "VALUE IS HELLO";}

else{

echo "VALUE WRONG";}

?>

<form name="" method="POST">

<input type="text" name="name2" value="Hello">

</form>

<?php

?>

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why your IF Statement not working?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a working capital statement?

WORKING CAPITAL STATEMENT (WCS) is part of the financial statements' "Statements of Cash Flows or Changes in Financial Position." The WCS normally includes sections covering: Sources of Working Capital, Uses of Working Capital, and Working Capital Changes.


Brief statement to describe working and non-working experiences that you feel have significantly contributed to your preparation for the position?

Be brief when giving a statement to describe working and non-working experiences that you feel have significantly contributed to your preparation for the position. State an event that strengthened the skills the job requires.


What is difference between 'he works' and he is working?

the difference is simple had been working is past tense so i had been working but i broke my leg that means you do not work any more have been working means you are working just not rite now hope this helps


What statement is true of working women in the 1900s?

they were paid less then men


What does mbs adj on a bank statement mean?

On a bank statement, MBS ADJ stands for manual bank statement, adjustment. This is done when the electronic bank statement is not working and the adjustment is being done manually.


Did the Unions and government legislation improved working conditions?

This statement is true!! :D


What is the mission statement of KPMG?

Outstanding professionals, working together to deliver value.


How much working capital does coca cola have?

Coca Cola has one of the largest working capitals in the United States. They have issued a statement that their total working capital is $1.24 billion.


What is problem statement in scient project?

When you state the problem you are attempting to solve with the project you are working on.


What statement is true of working in the early 1900s?

They were paid less than men. apex


In preparation of fund flow statement How can you treat If the working capital decreases?

when working capital decreases it should be written under the head SOURCES OF FUNDS in fund flow statement. and when W/C increases it should be written under APPLICATION OF FUNDS.


Why is many organs working together make up tissue an inaccurate statement?

it is an organ system