Jump to content

code not working


sushank

Recommended Posts

help me.....its not working......

i have seen this code in wrox professional php programming....and try to run it...... <HTML>

<FORM>

Please type your name here:<BR>

<INPUT TYPE=TEXT NAME=username><BR><BR>

<INPUT TYPE=SUBMIT VALUE="Submit data">

</FORM>

<BR><BR>

You typed:

<?php

echo ($username);

?>

</HTML>

 

when we enter the name and press the submit button its should print wat ever u have entered...but its not working...can any please tell me wats the problem....and i am using wamp 1.7.2.........waiting for ur replies........

Link to comment
Share on other sites

echo $_GET['username'];

 

1. Buy a newer book. Your book sucks (apparently).

2. Post in the correct forum.

3. Use

 tags when posting code.

4. Don't end each sentence with multiple dots.

5. It is spelled "what", "your" and "you", not "wat", "ur" and "u". Only people who type [i]really[/i] slowly would benefit from such (annoying) abbreviations.

6. Its != it's.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.