In the second line of the code for the form you've left out "type". As in "type = 'text'". That's okay cause the browser understands and it works anyway. But only when there's a space before the "=text". So that incomplete line wouldn't work for everyone.
Notice: Undefined index: name in C:\wamp blah blah blah...
Please help, this message comes up when i hit send, it says hello after the error, but is not finding name, i dont understand where im going wrong????
i did the exact same thing as you did, but i dont get a space between hello and the 'name', i tried to place 2 dots but then an error came and whit one dot there is no space
You have to upload this to a server. Php runs on the server side, not the client side. Make sure they are in the same folder on the server, and it should work out for you. Hope that helps.
Yes Php is a server side language. However, using a program like WAMP makes things a lot quicker when it comes to testing your scripts. See Tutorial 1.
@sheisr That's probably because flash4real didn't include "type" when he specified "= text" for the text box (2nd line of the form code). He did leave a space after "<input" and the clever browser guessed what he meant. If you didn't have that space AND didn't have "type" though, yours wouldn't.
You said in your last tutorial that future tutorials wont have background music and now theres music?
rosswilliamson85 1 week ago in playlist Php For Beginners - Learn Php Easily
Great video... The music in the background a bit distracting....
nellycg06 1 month ago
lol.. it is easy to understand!
zezomx 1 month ago
Great video. You've got a talent for explanation, so I hope you persevere with the pedagogy!
Revolutionspersecond 2 months ago
Hey. Thanks for the vid.
In the second line of the code for the form you've left out "type". As in "type = 'text'". That's okay cause the browser understands and it works anyway. But only when there's a space before the "=text". So that incomplete line wouldn't work for everyone.
balisticsquirel 5 months ago
Notice: Undefined index: name in C:\wamp blah blah blah...
Please help, this message comes up when i hit send, it says hello after the error, but is not finding name, i dont understand where im going wrong????
badboybrennan 9 months ago
@badboybrennan Copy and paste your code along with the error message please.
flash4real 9 months ago
i did the exact same thing as you did, but i dont get a space between hello and the 'name', i tried to place 2 dots but then an error came and whit one dot there is no space
ingkiller 10 months ago
problem, Undefined index:
zack1zack134 10 months ago
problem
zack1zack134 10 months ago
sheisr:
the error was maybe, that you didnt saw the _ charactor from the cursor
$name = $_POST ['name'];
peromajstore 1 year ago
@peromajstore
Yeah, you're right.
Php is one of those languages where tiny details can affect the outcome; in this case, the underscore ( _ ) .
flash4real 1 year ago
Great stuff. Thanks!
beautifulrecovery30 1 year ago
You have to upload this to a server. Php runs on the server side, not the client side. Make sure they are in the same folder on the server, and it should work out for you. Hope that helps.
Goldendust20 1 year ago
@Goldendust20
Yes Php is a server side language. However, using a program like WAMP makes things a lot quicker when it comes to testing your scripts. See Tutorial 1.
flash4real 1 year ago
its not working for me my friend, I had the same coding, but there is no text box appearing on the localhost page. please assist.
sheisr 2 years ago
@sheisr That's probably because flash4real didn't include "type" when he specified "= text" for the text box (2nd line of the form code). He did leave a space after "<input" and the clever browser guessed what he meant. If you didn't have that space AND didn't have "type" though, yours wouldn't.
balisticsquirel 5 months ago