Added: 3 years ago
From: thenewboston
Views: 48,287
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (68)

Sign In or Sign Up now to post a comment!
  • this is wierd. the button will do nothing if i click it but if i press enter after typing the name it works o.0

  • I have got to admin its much easier then ASPX the uhh way you can get data from 1 page to another, aspx you need code behind for the C#, - Web Developer here

  • Admit*

  • thanks for this tutorial but i have a question you showed us a form post with an input text what if i want to use radio or checkbox how i will do that

    and thank you

  • thank you.

  • That mindfucked me when he said Danny :S

  • If you don't want the button to say "Submit Query", then do this:

    input type="submit"value="PUT WHATEVERYOUWANTBUTTONTOSAYHERE­"

  • Undefined variable: _post in C:\xampp\htdocs\pf.php on line 6

    plz help me to solve this error thx

  • @dhavaleganesh It happens to me. Did you fix it? If yes, let me know how.

  • @dhavaleganesh it NEEDS to be in caps - $_POST["variable_here"]

  • AWESOME....!!!

    Thanks a ton for these tutorials...you actually describe each 'n' every thing..!!!

  • please support this tutorial very helpful.thanks

  • thx, really helped me with a little ting on my website :D

  • lets say I wanna change the title of testerpage.php... i want it to be the variable "name"... what do I type in instead of echo $_POST["name"]; ?

  • I figured out why it wasn't working!

    RIGHT before you click submit, delete the backslash ( / ) that is after Welcome.php. That will load testerpage.php on it's own instead of it being Welcome.php/testerpage.php

  • I guess that is intuitive but I was confused with that

  • Comment removed

  • I have a problem here and YouTube doesn't let me post the script... How can I contact you?

  • You are the best !

  • dude i want you to know that your fourms are the best and so are your tutorials i knew nothing about php and now i know a lot possibly enough to build my own fourm. Keep making tutorials and i am going to sub!!!!

    Awesome Job!

  • moron forms?

  • can anyone tell me what is the difference between this ' and " ???

  • @hanz17o18 There is not a difference. 

  • @hanz17o18

    you can use them like this, without closing

    ="xxxx'ooo'mmm"

    " close "

    ' close '

  • @hanz17o18 The difference is one is a single character (') and the other is for a string of characters("). For example, you can do the following..."My name is", 'David'....Not 'My name is david'.

  • Just a piece of advice--From this point on it's very usefull for someone to have seen his Dreamweaver tutorials.

  • OK it's working, I was opening the php file from the filebrowser instead of going through localhost/welcome.php . guess I got a lot to learn

  • It's not working for me, Please anyone help. I think I followed this tut perfectly. but maybe I missed a step or something.

    It goes to the testerpage.php but i don't see a name.

    thanks

  • Why didnt you use htmlspecialchars? Everyone could add some Javascript into the page like this.

  • @TheZumm17 dnt be a smart ass- its for people learning.

  • Comment removed

  • Thank you. - behind vfx

  • Why are you using HTML for a PHP tutorial. I'm quite certain that PHP does not require HTML to work properly.

  • I did what you said, but the name didn't show up after.

  • You are geat man.

    I wish you were my teacher in my class.

  • really good tutor!!

  • i can just say it works for me :D

  • For all who had a problem using this... the code to print the name is supposed to be:

    echo $_GET["name"];

    -not-

    echo $_POST["name"]

    ...hope that helps

  • i combined this with the switch, i might play a prank on my friend tomorrow (nothing too serious)

  • Ive watched from 1-19, understanding them all great, thanks man!

  • 1 question...can the page wif the forms be saved with the extension as .html while the other one as .php?

  • yep, form is html-only =)

  • uggh i have watched these videos a bunch of times but it still doesnt work

  • Great Tutorial! Very well explained to beginner!

  • Hi, I am a beginner in php and mysql, I wonder how long it usual take people to learn them and be able to make a database driven website? anyone have idea?

  • Do you have idea why when I input $_post and it is not working, but when I change it to &_POST, it is working?

  • because a lot of the computer languages make you put caps for somethings

  • @hpeyuan,

    Is it actually giving you an error or giving you a Notice: because the notice just means that it might not work, and XAMPP has those notice warnings turned off by default, so if you are using something else as a webhost, like WAMPSERVER or LAMPSERVER, or have actaully bought a web host, then they might not have those turned off by default, I am sure that WAMP doesn't and that was bothering me for a while and you can just disable it.

    Just Google, how to disable php error warnings.

  • took me about a month to get enough knowledge to build a login with mySQL, took a while to find and fix all my errors though.

  • haha.. great tutorial!!

  • jackass much?

  • i bet i could rip your gf a new in bed.

  • why is that so fuckin funny?

  • when i type danny in then hit submit it reverts me back to testerpage.php, its pissing me off.

  • Yes sir i got it!

  • why does testerpage.php have html and body tags?

  • html and php can be wrapped. The form is in html

  • not so sweet since I've followed the exact instructions and post nothing. Also no idea about how these two files relate to one another-that is, do they need to be in any particular directory or not to work. If it were working I would not be asking this question obviously, but both files are in htdocs and this is still not working.

  • it has to be in the same directory... save all your files in the htdocs...

    how the two files relate to each other? isnt welcome.php using the form action to call testerpage.php?

  • Sweeeeeeeeet!!!

  • i get an error 403 when i hit submit.. probably something with apache.

  • rename your  "testerpage"

  • If your on skype get off of it

  • Thanks very much subscribe

  • hay man u helped me alot thanks

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more