Women in Technology

Hear us Roar



Article:
  Working with Forms in PHP, Part 1
Subject:   if i do this it works ???
Date:   2003-09-03 08:07:27
From:   anonymous2
i buy a book and it says that i could do this:


#page form.php
<html>
<body>


<form action="script.php" method="POST">


<input type=text name=nome>
<input type="Submit" value="ok">


</form>


#page script.php


<?php


echo "your name is $nome";


?>



this is correct ???


[]
NC

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • if i do this it works ???
    2003-10-30 09:24:25  anonymous2 [View]

    Yes you can . If you php does not support it you can run extract on $_GET and $_POST to be able to use $nome