How to style PHP output?

Why will my php not print output?

  • Please help. I am trying to print out the input from the text box to the handle-data.php page. What ever name you enter it shows up on the handle-php screen HTML PART (with javascript) <form name="myform" name= "name" action="handle-data.php"> <a href="javascript: submitform()"</a> </form> what color is the grass? <input type = "text" name ="name" id = "answer"> <input type = "button" id = "time" onclick="answer()"> PHP part <?php $name = $_POST["name"]; echo $name; ?>

  • Answer:

    <form name="myform" name= "name" action="handle-data.php"> Needs to be... <form name="myform" name= "name" action="handle-data.php" method="post">

skateman... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.