PHP Form Handling Tutorial - GET, POST & REQUEST Global Variables | Learn PHP Programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024
  • Upgrade your Clever Techie learning experience:
    / clevertechie
    UPDATE! (9/13/19) New features and improvements for Clever Techie Patreons:
    1. Download full source code with detailed comments - easy to learn and understand code
    2. Weekly source code file updates by Clever Techie - every time I learn new things about a topic I will add it to the source file and let you know about the update - keep up with the latest coding technologies
    3. Library of custom Clever Techie functions with descriptive, easy to understand comments - skyrocket coding productivity, code more efficiently by using Clever library of custom re-usable functions
    4. Syntax code summary - memorize and review previously learned code faster
    4. Organized file structure - access all Clever Techie lessons, source code, graphics, diagrams and cheat sheet from a single workspace - no more searching around for previously covered material and source code - save enormous amount of time and effort
    5. Outline of topics the source file covers - fast review of all previously learned coding lessons
    6. Access to all full HD 1080p videos with no ads
    7. Console input examples - interactive examples that make it easier to understand and learn coding
    8. Access to updated PHP Programming Book by Clever Techie
    9. Early access to Clever Techie videos
    Subscribe to Clever Techie patreon:
    / clevertechie
    ````````````````````````````````````````````````````````````````````````````````````````````` In this video we're going to take a closer look at how form handling works in PHP. We're going to look at GET, POST and REQUEST global variables and see how to work with them when the form is submitted using either method.
    ``````````````````````````````````````````````````````````````````````````````````````````````
    Hey guys, I'm now using Patreon to share improved and updated video content and source files. For a small fee you can access all the downloadable files from this lesson (source code, icons & graphics, cheat sheets, OneNote notes) and everything else included in the video from the Patreon page. Additionally, you will get access to ALL Clever Techie videos in HD format with no ads. Thank you so much for supporting Clever Techie :)
    Download this video's files here:
    / php-form-get-21086693
    ( You also get access to ALL source code and any downloadable content of ALL Clever Techie videos, as well as access to ALL videos in HD 1080p quality format with all video ads removed! )
    `````````````````````````````````````````````````````````````````````````````````````````````
    ( Website ) clevertechie.com - PHP, JavaScript, Wordpress, CSS, and HTML tutorials in video and text format with cool looking graphics and diagrams.
    ( TH-cam Channel ) / clevertechietube
    ( Google Plus ) goo.gl/J71p6f - clever techie video tutorials.
    ( Facebook ) / clevertechie
    ( Twitter ) / theclevertechie

ความคิดเห็น • 51

  • @codemon_
    @codemon_ 6 ปีที่แล้ว +12

    Hello clever! Your biggest fan from Nigeria! Thanks for the multiple file upload to database tutorials, I think you should also try working with JavaScript in your php .Do something, maybe form validation with js to start with ,then maybe could work with ajax in php ,would really help and come in handy.

  •  3 ปีที่แล้ว

    Really helpful video! Finally understood how to use the php theorie I'd watched and read so far.

  • @sharkluxry
    @sharkluxry 4 ปีที่แล้ว +3

    You made it so simple for me to understand. Thank you!

  • @codingarjuna8677
    @codingarjuna8677 3 ปีที่แล้ว +1

    Love from India ❤️

  • @vincentbismack907
    @vincentbismack907 3 ปีที่แล้ว +2

    Brilliant. What line of code can you add to this PHP form in order to display the values from the text box and checkbox in HTML TABLE?

  • @kingtyphoon
    @kingtyphoon 2 ปีที่แล้ว +1

    Awesome and clear video!

  • @tomjohansson3520
    @tomjohansson3520 2 ปีที่แล้ว +1

    thanks very clear video

  • @ssigitas69
    @ssigitas69 3 ปีที่แล้ว +2

    pre_r($_POST) shows me error: Undefined function 'pre_r'.intelephense(1010)

  • @sabuein
    @sabuein 3 ปีที่แล้ว +1

    Thank you, brother.

  • @mayankyadav7343
    @mayankyadav7343 3 ปีที่แล้ว

    Just want to say thanks

  • @MrMatt206n
    @MrMatt206n 3 ปีที่แล้ว

    Really helpful video, I'm just a bit confused where the video says submit variables are not visible with GET in the URL, yet Submit=submit is visible in the URL in the video example? Any help welcome!

  • @lotfijbeli5121
    @lotfijbeli5121 2 ปีที่แล้ว

    Thank you

  • @budosfasz
    @budosfasz ปีที่แล้ว

    Hello, 9:30 you moved the part of the php to a new file. But you left the php at the bottom of the html. Why? You cannot move all the php to the new file? Or you just forgot it?

  • @getsetletscode8892
    @getsetletscode8892 3 ปีที่แล้ว

    exact video i wanted thank u soo much

  • @ВладимирК-ь9г
    @ВладимирК-ь9г 6 ปีที่แล้ว +3

    Спасибо. У Вас отличные уроки

  • @lynndunning1545
    @lynndunning1545 2 ปีที่แล้ว

    Works Great for me, and I learned many things I've been missing in my limited php knowledge. Thanks so much, and I like the way you teach, I will be looking for more of your videos.

  • @ambientsoda106
    @ambientsoda106 3 ปีที่แล้ว

    Is there a way to check data before its posted? As if stamens checking the $post dost stop post taking place...

  • @DarmaJayaNgr
    @DarmaJayaNgr 4 ปีที่แล้ว +1

    Thank very much, you saved me

  • @TechAlphax
    @TechAlphax 6 ปีที่แล้ว +1

    Great work Mr. Clever. Can you perhaps start something on Java. An online examination app maybe.

    • @clevertechie
      @clevertechie  6 ปีที่แล้ว

      Thank you :) I'll think about it.

  • @samantha6670
    @samantha6670 3 ปีที่แล้ว

    Thanks so much!

  • @spookypenguinsoldier8595
    @spookypenguinsoldier8595 3 ปีที่แล้ว

    thanks, learned a lot

  • @laurindocamuenho6829
    @laurindocamuenho6829 6 ปีที่แล้ว +3

    I like so much this video.

    • @clevertechie
      @clevertechie  6 ปีที่แล้ว +2

      I think you're really going to like next one, it will be about CRUD (create, update, delete) and will be using POST and GET a lot which is why I wanted to prepare everyone for it with this video.

    • @laurindocamuenho6829
      @laurindocamuenho6829 6 ปีที่แล้ว

      I waiting for next video.
      Angola is my location.

  • @neilb9768
    @neilb9768 4 ปีที่แล้ว +2

    Hello... when I click the submit button, I get "error 403, access forbidden You don't have permission to access the requested object."
    PLEASE HELP

  • @mr.RAND5584
    @mr.RAND5584 ปีที่แล้ว

    This is easy. React js is complicated.

  • @rata1049
    @rata1049 3 ปีที่แล้ว

    pre_r doesn't seem to be in the documentation of php

  • @remyd3011
    @remyd3011 2 ปีที่แล้ว

    This video helped me get through a Try Hack Me room! Thank you so much for this video!

  • @nielfernandez8721
    @nielfernandez8721 3 ปีที่แล้ว

    Awesome!

  • @ringtonetubeoriginal8209
    @ringtonetubeoriginal8209 3 ปีที่แล้ว

    Where can I get the users input?

  • @thomasburns6666
    @thomasburns6666 3 ปีที่แล้ว

    Good VID

  • @cd78
    @cd78 6 ปีที่แล้ว

    Explain how to fetch multiple images from several tables using a mysl statement. Ie you have a products table and a images table

    • @clevertechie
      @clevertechie  6 ปีที่แล้ว

      Okay I think I'll do that one, thanks for the idea!

    • @cd78
      @cd78 6 ปีที่แล้ว

      I have been stuck with this for about a week now with how to formulate the mysql statement where I have a main image in a products table and images_two, images_three in a images table... how

  • @Ceez747
    @Ceez747 3 ปีที่แล้ว

    what is pre r?

  • @nianabenhassine2188
    @nianabenhassine2188 ปีที่แล้ว

    i cant open the website

  • @marineoutsource
    @marineoutsource 4 ปีที่แล้ว +1

    Please make a video to prevent retainig the value when back button is pressed and to prevent resubmission using that back button data that was retained. I hope you knew what I meant / thanks

  • @Randomdude-i8x
    @Randomdude-i8x ปีที่แล้ว

    Did your mom really name you Clever Techie? Okay now don't lie to me.

  • @1duducm
    @1duducm 3 ปีที่แล้ว

    THANKSSSSSSSSSSSSS

  • @neb542
    @neb542 3 ปีที่แล้ว +1

    This does not work.

  • @itzPrincesoni
    @itzPrincesoni 3 ปีที่แล้ว

    I dont know how to use php !

  • @codewithf.s.h7850
    @codewithf.s.h7850 4 ปีที่แล้ว

    complete form th-cam.com/video/JfgWBV1Td1Q/w-d-xo.html

  • @jesusvalencia3641
    @jesusvalencia3641 4 ปีที่แล้ว

    otro que no sabe programar

  • @williamjamesrapp7356
    @williamjamesrapp7356 4 ปีที่แล้ว

    You certainly know what you are talking about but WHO IS THE AUDIENCE you are talking to here ?
    If you are trying to TEACH someone how to do this then this is not the video for that. You are NOT teaching.
    If you are talking to people who already know HTML5 & PHP ( which this video sounds like ) why are you showing them this THEY ALREADY KNOW WHAT THEY ARE DOING or are you just posting this video because you want personal experience presenting videos ?

    • @anonym3852
      @anonym3852 4 ปีที่แล้ว

      Same issue here. Im learning PHP and want to make a formfield which creates a new class on submit.
      So far i see no season to echo them out. As you already have a array format which should be possible to put into a class.
      But the array shouldn´t show up. At least im on the next step to do a Alert Tool.

    • @Maru-ge6jn
      @Maru-ge6jn 4 ปีที่แล้ว +3

      Dont be a dick William

    •  3 ปีที่แล้ว +1

      I'm at the start of learning php and exercising some first form handling. It really helped me kickstart my php knowledge/coding. I think its a good video for people who have trouble executing the PHP theory they've read on so far, in a realistic situation instead of technique per technique.