Jump to content

[SOLVED] help me out please


cooldays

Recommended Posts

Hi,

  I am new to php programming. I want to collect data from an html form and whenver I click the submit button the data is appended to the url but cannot be displayed on the page.what is the problem, do I need to set up any environmental variables?

 

This is the code of the html page by name first.php

 

<html>

<form action="process.php" method=get>

Please type your name here:

<input type=text name="username"><br>

<input type=submit value="submit data">

</form>

<html>

 

code of php page by name process.php

<?php

  print $username;

>?

Link to comment
https://forums.phpfreaks.com/topic/124179-solved-help-me-out-please/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.