You should use php form for it.
-EDIT From the above numpty-
<?
$button = $_POST['button'];
$textfield = $_POST['textfield'];
if($button && $textfield){
echo $textfield; // This will output "Hello" as the initial value of the textfield was "Hello"
}
?>
<html>
<body>
<form name="form1" method="post" action="">
<input name="textfield" type="text" id="textfield" value="Hello">
<input type="submit" name="button" id="button" value="Submit">
</form>
</body>
</html>
To submit a file, you don't even need a PHP file. The PHP portion is for processing the form results. You just make a button and make sure you defined the action URL.Name: Gender:Boy: Girl:
<?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 ?>
Build your form in HTML and specify your PHP file in the action of the document. HTML does the form stuff, PHP the processing (although you can - of course - use HTML inside PHP via print() or echo(), too)
Create an HTML form with METHOD="post" and ACTION="login2.php". In login2.php check if the entered username and password are correct. You can get the username with $_POST['name_of_username_input']. The same goes for the password.
$curr_dir = getcwd();
PHP: Hypertext Preprocessor is the full name of PHP. It originally stood for Personal Home Page. This was changed in 1997 with the release of PHP 3.
PHP: Hypertext Preprocessor is the full name of PHP. It originally stood for Personal Home Page. This was changed in 1997 with the release of PHP 3.
The only true form of previewing PHP source output is to run the PHP script in question.
php
In early versions, PHP used to stand for Personal Home Page. It was renamed to 'PHP: Hypertext Preprocessor'. The expanded form conatins the acronym itself, therefore it is a recursive acronym.
May be who will answer this question are working on PHP. And also if you will search online job sites, you will get lots of companies, Nonetheless you may get companies by searching google search engine too.
There is no such thing as a PHP form. Forms are written in HTML or other client side scripting languages.