Web Design and Programming Pt 2 PHP & HTML

[ad_1]
I show you how to retrieve data sent from HTML forms using PHP. Also cover the if statement, switch statement and more. Code is here


Posted

in

by

Tags:

Comments

32 responses to “Web Design and Programming Pt 2 PHP & HTML”

  1. gaDget Avatar

    sir please tell me how can i run the code return of .php browser is showing nothing

  2. Mister Mister Avatar

    When I try to run phptest1.php; I am getting these errors in the browser…

    Notice: Undefined index: name in C:xampphtdocsphptest1.php on line 10

    Notice: Undefined index: address in C:xampphtdocsphptest1.php on line 11

    Notice: Undefined index: city in C:xampphtdocsphptest1.php on line 11

    Notice: Undefined index: state in C:xampphtdocsphptest1.php on line 11

    I'm trying to follow your videos; but, it's not going well… starting from knowing nothing about PHP.

  3. Luciano Fliermans Avatar

    How did you learn code, and how would recommend a starter to learn it? I'm not expecting to learn it in 1 day

  4. SOM CREATION Avatar

    i am learning html css javascript and php.
    basically i am good in other stuff like html css and javascript . i even learnt jquery easily. but i am having trouble when learning php.
    obviously i have watched your tutorials on php and learnt alot from them.but even if you tells everything in a simple way they seems like a pro tutorial that fresher couldn't understand.
    i am also learning php by reading the plain text explanation on different websites like w3schools.com, tutorialspoint.com etc, but video tutorials are just like learning somthing in school class in front of teachers.
    so i just request you to make a video tutorial series on php like 10 min each ranging from basic things like how to install and run php to the advanced topic like oop tutorials.

    i have referred your channel to most of my friends who are spending lots of money to learn web designing and programming because you just speak clearly and to the point.
    but that series will be highly appreciated from all of us who are self learner and wants to be like you.

    thanks ,
    regards…raj kumar

  5. Đăng Hải Avatar

    For who try this, to run the form you have to run on localhost likes WAMP

  6. Jeremiah Fernandez Avatar

    How do these tutorials differ from your other single-language tutorials? Are these still relevant in 2016? Thank you for your awesome work 😀

  7. Dr_Glop Avatar

    Sorry Derek. My msg below re the ; not being at the end of the line would have caused an error. I just tested it and it runs fine even if you leave the ; out, which surprises me a bit. I thought all statements had to end in an error. Apols.

  8. Dr_Glop Avatar

    30 seconds into your clip you show the results of the embedded "Hello" which when tested shows nothing in the browser. Although I completely agree with you, you have also forgotten to put the ; at the end of the statement which would also have been an error. Just a thought.

    Absolutely loving your tutorials. Best teacher I have ever had. Thank you so much.
    Nick_P

  9. Lester Avatar

    Hi +Derek Banas
    I have one quesrion about $_POST, $_GET and $_REQUEST
    I cannot get the value from $_POST which is the empty value , but I can get the value from $_GET and $_REQUEST.
    Could you know what the problem is ?

    Thank you

  10. Will Nguyen Avatar

    Quick Question: I was referred to your videos by a friend (which are great btw) but I was wondering if how much of the content is still relevant, only asking since these videos are now 5 years old.

  11. Lonny Sarao Avatar

    I was wondering how you are changing code and having it appear so quickly in the browser on the right side? I downloaded textWrangler thinking everything on the left would look like yours, but this is not the case. Oh yeah, and thank you thank you thank you. These tutorials are amazing!

  12. Anthony Rosamilia Avatar

    Very well spoken and efficient time management in these vids. You found the perfect learning speed for programming students. Thank you.

  13. Abdulah Al Bahhar Avatar

    Why would you check for ($numGuessed < 11) since you've checked that ($numGuessed == 5)

  14. Nasir Khan Avatar

    Hey Derek Banas! You have awesome style of teaching and they are pretty helping and absolutely to-the-point as well! well, I wanted to request you to make tutorial about e-commerece website development as to show combined effect of all languages i.e. html5(structure), css(PRESENTATION), js(CLIENT-SIDE INTERACTION), php (SERVER-SIDE INTERACTION), mysql(DATABASE-MANGAMENT), etc. I know its too demanding but still i would ask because your teaching-style is very handy. cheers!

  15. TheManOfPro Avatar

    You can use || as OR, && as AND and != or <> as NOT, but is there a symbol for XOR?

  16. jan jaime aringoy Avatar

    is jquery can also perform this?

  17. Derek Banas Avatar

    You can't get the clients time using PHP, but you can with javascript. Here is the code you need stackoverflow. com/questions/2705067/how-can-i-get-the-users-local-time-instead-of-the-servers-time

  18. Franco Liwanag Avatar

    thanks your awesome, what about time greeting like "good morning" "good afternoon" and "good evening"

  19. Derek Banas Avatar

    Here it is with links to other required info newthinktank. com/2011/01/web-design-and-programming-pt-21-secure-login-script

  20. Franco Liwanag Avatar

    which tutorial series? whats the title?

  21. Derek Banas Avatar

    I cover that later in this tutorial series. All the videos are on my YouTube channel

  22. Franco Liwanag Avatar

    help me derek 🙁 how do i do a login page

  23. Derek Banas Avatar

    You're very welcome 🙂

  24. Suellen Colangelo Avatar

    Help me a lot! Thanks for sharing this =)

  25. Derek Banas Avatar

    Thank you 🙂 You're very welcome

  26. Chad B Avatar

    really like the style, speed and quality of your tutorials. Thanks for doing this!

  27. Jake Frost Avatar

    Awesome thanks Derek!

  28. Derek Banas Avatar

    I have a link to all the code in the description under the video. Sorry it was so confusing. I also have all of the code from the whole tutorial series in own zipped archive here newthinktank. com/videos/web-programming/php-mysql/

  29. Jake Frost Avatar

    Derek,
    I have been watching your videos and you have multiple php files you refer to in the first 2 videos. My problem is when I try to use the "$_POST['name']" (that is a reference to the 'name' on a different php file, like you were doing with your form) nothing happens on my end. Is there some code that actually links the files together? Does it need to be defined like other programming programs?

  30. Derek Banas Avatar

    You use name for form controls. You use id to identify a particular HTML element. Most html tags / elements are identified with id so you can do things with them like get values, or store values, etc. Does that help?

Leave a Reply

Your email address will not be published. Required fields are marked *