58: How to Create A PHP Contact Form | PHP Tutorial | Learn PHP Programming | HTML Contact Form

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • How to create a PHP contact form | PHP tutorial | Learn PHP programming | HTML contact form. In this PHP tutorial video you will learn how to create a PHP contact form, which you can use on your website to let people to send you e-mails.
    ➤ GET ACCESS TO MY LESSON MATERIAL HERE!
    First of all, thank you for all the support you have given me!
    I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!
    I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.
    I hope you will find it helpful :)
    Material for this lesson: / lesson-material-42361704

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

  • @remsan03
    @remsan03 หลายเดือนก่อน +1

    I've spent the entire day trying to make my contact page works. Only this guy helpfully mention that Gmail can't receive any mail sent directly from php. My head hurts checking every line of code, thinking there's something wrong. The solution actually was so simple: use an email from your domain for $mailTo. Thank you, and I'm subscribing.

  • @robcandy9273
    @robcandy9273 4 ปีที่แล้ว +16

    Was trying to do this last. Would not work. Not at all. Went to bed miserable. Woke up this morning refreshed with coffee and tried again... Still wouldn't work. After swearing loudly for a few minutes I notice something. One quotation mark missing!!! AAARGH This is why I'll never make a professional programmer :P It works perfectly now. Thanks for this tutorial

    • @DH-qu8wh
      @DH-qu8wh 4 ปีที่แล้ว +2

      repeat this process several hundred times and you will be a professional.

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

      I bet you code professionally now, do you?

  • @ThePublicTutorials
    @ThePublicTutorials 6 ปีที่แล้ว +83

    Hey, I love how you actually get straight to the point and actually make videos with useful real life examples and not just speak theory or demonstrate cases that have no real life abutment! Your videos saved me from failing one of my uni courses. Thanks alot! If I were to be pointy about your tutorials I'd say that I wished you started off with showing the result (So that we can skip the video if it wasn't what we were looking for). But keep up the amazing content!

  • @83greene
    @83greene 6 ปีที่แล้ว +13

    Thank you so much for this video! I am complete php newbie trying to create php contact form on my website. I watched so many tutorials and I couldn't get it worked. Why? I tried to send email to my gmail address. Thank you for explaining that it won't work with Gmail! That just saved me whole afternoon of frustration!

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

      but pls how do u did that, co's i have tries it but is not working

  • @mohanmariswamy1321
    @mohanmariswamy1321 3 ปีที่แล้ว +13

    I was worried to not learning this since so many years as I was only concentrated on front end development. Thanks Dani :)

  • @suchiparekh5190
    @suchiparekh5190 6 ปีที่แล้ว +5

    I have watched at least 10 videos before yours. you showing perfect all the thing. all the things you explained, I understand very easily and its working finally. thank you, soo much. you are god for me. your video made my day.

  • @haoql.7686
    @haoql.7686 2 ปีที่แล้ว +2

    I just like how easy and basic this video is to an absolute beginner of learning PHP.
    Thanks for making this video!

  • @chibututunnamani5806
    @chibututunnamani5806 5 ปีที่แล้ว +6

    I'm in love with the way you teach bro! I read books but you've made me a more confident php developer. Much love bro! Thanks for the great work!

  • @trg808
    @trg808 5 ปีที่แล้ว +25

    Hey this works with my Gmail! Don't know if anything has changed but just wanted to give a heads up.

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

      Hello can you please tell me how it wirked for you with gmail ?? because don't want to work for me !!

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

      PLS TELL ME HOW THE HECK IT WORKED FOR YOU PLSPLSPLSPLSPLSSSSSSSSSS

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

      @RUSAFI BUT HOW

  • @mellmckn
    @mellmckn 6 ปีที่แล้ว +43

    Love your course! I'm new to php and this is very helpfull.

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

      you all probably dont give a shit but does someone know a way to log back into an instagram account?
      I stupidly forgot the login password. I would appreciate any tricks you can give me!

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

      @@gunnerjeremiah892 use the forgot password button lol

  • @tommyp2135
    @tommyp2135 5 ปีที่แล้ว +3

    I been looking for hours to my question "Can i test my PHP form using local host? " Thank you for giving the answer =)!

    • @Dani_Krossing
      @Dani_Krossing  5 ปีที่แล้ว +1

      Yes but it require quite a bit of setup

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

    Great instruction, right to the point. No messing around makes this very useful and user friendly. Thanks for a great lesson.

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

    Thank you Dani! Thanx to your video, I managed to make a contact form on my portfolio web site working!

  • @issarukayat5992
    @issarukayat5992 5 ปีที่แล้ว

    You are an angel. Your method of impacting knowledge is awesome. I really appreciate all your tutorials. I have learnt alot from watching your video. I am new in programming. Thanks alot.

  • @mettalove
    @mettalove 4 หลายเดือนก่อน

    Thank you so much for providing tutorials for beginners. I'm happy you explain every step and don't skip over things. Now, have you made a video that shows how to add V2 checkbox recaptcha into a php/html contact form. I have a functioning form but have no idea where to place all of the code. Watching your html and php form videos is teaching me about my form in the meanwhile.

  • @hellangel28
    @hellangel28 5 ปีที่แล้ว +4

    This is a tutorial to show how easy it is to send an email via PHP using native functionality, though it is not secure at all.
    Do not use a contact formular like this in any production/live environment!
    If you do not sanitize the user input, additional sendmail parameters can be injected, making it possible to remotely execute arbitrary code! I would highly recommend to use packages like PHPMailer or similar, which include mitigations against this type of attacks.

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

    I actually got this one straight after many attempts using other videos. Thanks.

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

      How did you get it right, please, I have tried everything

  • @sivap8984
    @sivap8984 5 ปีที่แล้ว

    By visiting your channel I am learning usefully day by day.

  • @DesmondloveSonita
    @DesmondloveSonita 7 หลายเดือนก่อน

    I really love your manner of presentation and teaching sir

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

    Absolutely the best tutorial for contact form on the entire web! Thank you!

  • @maaiziyas9854
    @maaiziyas9854 4 ปีที่แล้ว +8

    Hi, I would be grateful if you could make a tutorial on a functional shopping cart

  • @iajoe9077
    @iajoe9077 6 หลายเดือนก่อน

    The way you teach us is super good and open Sir ❤.
    Thank you so much

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

    My mistake was not capatilizing the POST inputs haha Thank you so much buddy. Its working!!

  • @nlawson2004
    @nlawson2004 5 ปีที่แล้ว

    Damn it. It was the Z index value in the CSS. Everything is perfect again. Hopefully these posts will help someone else who’s having similar issues. So madenning.

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

    Play the video and keep tapping the number 2.. so satisfying

  • @SaravanaKumar-xw8xt
    @SaravanaKumar-xw8xt 6 ปีที่แล้ว

    Thanks you very much. i suffered a lot past 2 weeks at last this tutorial give me a nice result .good keep going and am looking more tut videos ahead .

  • @stevoe6271
    @stevoe6271 5 ปีที่แล้ว +19

    it would be cool to finish off this contact form video by implementing a recaptcha on this contact form :) PS i sent you an email about this :)

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

    Thank you very much. Can you do it again but with validation and security in mind? Great Tut!

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

    Man, you are a number one. I'm strugling with this almost whole week. Thanks a lot

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

    It's a really reallyyyyyy good tutorial! Well done! You can be sure that I will come back and watch each tutorial (you can say that I have come here for a refresh tutoring and you've passed it big time!)

  • @regularpersonLIVE
    @regularpersonLIVE 8 หลายเดือนก่อน

    Sometimes I feel that you teach way better than others

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

    Very good, easy to follow video! The only video anyone needs on this subject, thank you!

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

    Thank you for explaining clearly and precisely.

  • @FutureAIDev2015
    @FutureAIDev2015 5 ปีที่แล้ว +1

    This is really helpful! I’m going to try it later to see if I can get it to work on my own server.

  • @grsescueladepatinaje2768
    @grsescueladepatinaje2768 4 หลายเดือนก่อน +1

    First of all, I'd like to thank you for your excellent work, which makes the incomprehensible so easy. However I have a problem, the last 2 lines of code cause a syntax error that I can't fix. Thank you in advance for your reply.

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

    Tnx sir, I tried many other tutorials , yours is easier and works instantly .

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

    Awesome content!
    I kept thinking I needed to add jQuery to click the submit button.
    So much time saved!
    Thank you!

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

    Struggling years and years ,Thank you Bro

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

    This was the most useful tutorial ive seen for this thanks so much

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

    awesome, just what I was looking for. Thanks a lot for sharing!

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

    Best programming channel ever! You make PHP fun and easy like never seen before

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

    You have a potential to be a web development teacher, thank you very much Sir, great tutorial indeed! :)

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

    Quality video. It's easy to listen to you explaining stuff and pleasure to look through your coding. I'm definitely coming back to check some more videos. Great job, keep it up

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

    Thanks for the awesome lecture. I have been looking for a simple tutorial like yours. Please, You just nail it. You are a blessing.

  • @ogbeide-ihamaosagie8851
    @ogbeide-ihamaosagie8851 6 ปีที่แล้ว +19

    Hi after adding the code to my website when i click the submit button it just redirects me to contact.php and nothing happens no message is sent

    • @devdeclan
      @devdeclan 4 ปีที่แล้ว +8

      You are probably running it on an apache2 server, this cannot send data to your Gmail address, you have to have a website up with a domain for the data to send. The reason why it's redirecting you to your code on contact.php is that you don't have a domain, you just viewing it on a local file. Sorry if you don't understand, I can't explain properly.

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

      @@devdeclan actually ive uploaded it on Fast.io but it still opens the php code in a new tab. even tho the site is online

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

      This happened to me also at first until I realized that the page containing my contact form was not titled 'index.php' but rather something else (index.html in my case). Changed the contact form to reflect this, tested and worked. Thanks Dani for the tutorial.

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

      Hey mate ive been chasing my tail for the past 3 hours on the same issue thinking ive missed a ; or } but no turned out that in my html that i had forgotten to

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

      @@n0username0n DUDE, YOU ARE AN ABSOLUTE LEGEND. I'VE BEEN PULLING HAIR OUT TRYING TO FIGURE OUT WHAT I MISSED. Thank you for such a simple fix (it always is something small you missed). I praise God for you, man! Thank you!

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

    Works like a charm from the first time

  • @barborabenova3668
    @barborabenova3668 5 ปีที่แล้ว

    I followed the instructions and it worked. Thanks

    • @fataidea135
      @fataidea135 5 ปีที่แล้ว

      Did you use xammp or you host it

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

    You are the one youtuber I was looking for.

  • @HASSANMUSTAFAhass797
    @HASSANMUSTAFAhass797 6 ปีที่แล้ว +10

    I learned a lot from you , thanks Man

  • @daniphordmwajah2840
    @daniphordmwajah2840 5 ปีที่แล้ว +1

    I am one of your followers, and really benefiting from your courses. Keep up the good job!

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

    AMAZING EASY AND TO THE POINT. Thanks a lot for this tutorial! Got one question tho. is there a way to have a confirmation page or lightbox or an alert kind of thing once the email is sent?

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

    Is it possible in later videos, to explain how we should make dynamic websites? I ve learned a lot about respnsive static pages but i a bit confused about how to take apart the site to be functional for php editting and accessing it from a simple cms.. thank you again sir!

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

    Well done course and very clear language and writing.
    Thank you and good luck.

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

    This is exactly I looked for, thanks 😊❤️🙏

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

    Sir Your Tutorial is very good. I learned a lot from you , thanks Man

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

    Hey thanks Danny for the great videos!!! Please can you show me how to send the form data to the database as well as the email address at the same time? Would really appreciate it. Thanks once again!

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

    what if my hosting service is github? how do I get to receive email on gmail?

  • @woodwiseskateboarding6092
    @woodwiseskateboarding6092 5 ปีที่แล้ว

    Am learning a lot from this.. So helpful

  • @loscolaro2725
    @loscolaro2725 5 ปีที่แล้ว +1

    Best explanation so far but didn't work on my website I need help :-(

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

    The content that you always upload made me feel more confident in programming even though I love film and video games. Keep it up man!

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

    so for those who have the same problem with me (on url shows mailsend but not receiving any mail in your inbox) change your webhost, when i changed it worked perfectly the only thing is that the mails go to spam folder

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

    As always clear and straight to the point!
    Great lesson thank you so much

  • @jan-ovejohansson841
    @jan-ovejohansson841 4 ปีที่แล้ว +1

    Hi, thank you for all tutorials. Very interesting. Very good to have your courses now in these Corona times. I probably hadn't discovered them otherwise. To the question: I live in Sweden and have characters like, å, ä and ö, but they look a bit strange in the email. Can you or someone else, please, tell me how I can fix it. Thank you very much!

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

      www.w3.org/MarkUp/html-spec/html-spec_13.html

  • @neldcneldc3226
    @neldcneldc3226 5 ปีที่แล้ว

    Great video, I know understand how to actually make a php form...

  • @hotdogjoe4039
    @hotdogjoe4039 5 ปีที่แล้ว

    please tell me the set up that you are using to make this!? what kind of mic are you using? What software are you using to screen record!? Aside from the great short and sweet video about php. The quality of this video is so satisfying to me

    • @Dani_Krossing
      @Dani_Krossing  5 ปีที่แล้ว +1

      I think I was using the Audio Technica AT2020 at this point when recording (+ a lot of post sound editing). And then I used Bandicam to record the screen.

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

    Thanks from Turkey :)

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

    Welcome back please i need a tutorial about integrating payment proccessors like paypal please :)

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

      DrHanna I will look into it :) great tutorial idea.

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

    Thank you very much!
    Easy to follow and works as it should. I will definitely be checking out more of your tutorials.

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

    I enjoy and like your videos, even though you miss on somethings (like explain certain part of your code). Still I will always check out your stuff.

  • @jeremysmith1925
    @jeremysmith1925 5 ปีที่แล้ว

    Awesome tutorial, worked 1st try when I plugged the code into my project. Thank you!

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

    Awesome Dude. I am really feeling sorry for the views you are getting. You deserve million views and subscribers. Thanks for making this video.

  • @DarkLightBoy
    @DarkLightBoy 5 ปีที่แล้ว

    Dood your the best it took me 3 days why the email doesn’t send to me and you are the god you deserve 10000000000000000 subs

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

    Extra newlines in "additional_headers" are no more allowed in PHP mail( ) function, instead use "PHP_EOL".

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

    Thank you for this! Very informative and instruction is clear!

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

    Fantastic tutorial. To the point and accurate. Was able to get my own form set up in 30mins :D

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

    Thx for the wonderful tutorials it was really helpful

  • @stellame7842
    @stellame7842 5 ปีที่แล้ว

    I'd kiss you if I could. Thank you so much. Worked perfectly 1st time. Have only worked in HTML, so to be able to do a php file and have it work 1st time is awesome.

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

    Thank you sooo much! Just what I needed.

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

    Could I use "42: How to Display Error Messages Using PHP | PHP Tutorial | Learn PHP Programming" along with this tutorial to diaplay error and success messages when someone fills out a contact form?

  • @GDLAPROD
    @GDLAPROD 4 ปีที่แล้ว +5

    Hmm... so I haven't been able to test it yet, but I noticed your html file is labeled as index.php. If I change my current file from index.html to index.php, will that cause any issues with my code and how it's reflected on my browser?

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

      Hahaha nope nothing's going to happen.
      But you must be on a server either local host or online web server
      Although all links to that page must be updated.
      Have fun

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

    you have great videos bro thanks you helped me alot on my programming journey

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

    Great! Works perfect, but I receive all the emails in the Trash Folder. Anyone knows why? Thanks!!

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

    Thank you so much. It worked out for me!

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

    Hi, I can send my form but after it doesnt go the page I assigned, it goes to a blank page which is php page

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

      Queasy Doughnuts it is a blank page there is nothing in it

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

      same issue here

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

    You are great man... Thanks for this helpful tut...

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

    Another really good and easy to follow tutorial.

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

    Hey you are amazing can you make video on how to make dashboard for user and how to put specific data inside also how to crate admin panel
    Thank you
    With love

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

    I love this video! Do you have one in which you use the htmlspecialchars function in a form such as this one?

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

      Hmmm don't think so... but you should add it after every form submission, even though I didn't in the video 🙂
      So for example instead of:
      $message = $_POST["message"];
      You write:
      $message = htmlspecialchars($_POST["message"], ENT_QUOTES, 'UTF-8');

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

      @@Dani_Krossing Thank you much and happy new year:)))

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

    Where did you get the location from in the
    "header("Location: index.php?mailsend";)"
    section? Do we have to have an index.php for it to work? It seems that that part is causing problems in my code

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

      I do not know.

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

      what i found out was that you should do just header("Location: [the webpage that you want to redirect to].html")

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

    This worked Perfectly. Thank you!

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

      how ??????? i did same but didnt recieve email

  • @LeonardoGrinn
    @LeonardoGrinn 6 ปีที่แล้ว +4

    The easiest tutorial ever !!

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

      when did he create the index.php file?

  • @التدريبالعلمي
    @التدريبالعلمي 2 ปีที่แล้ว

    Fantastic tutorial bro. thank you so much

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

    when i type in the form, i just get to a blank white screen, and i have done everything that is done on the video, so i dont understand

  • @Idle_dimension
    @Idle_dimension หลายเดือนก่อน +1

    What website hosting platform did you use in this video?

  • @7thofseventh
    @7thofseventh 4 ปีที่แล้ว

    Thank you so much for this tutorial! Helped a lot!

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

    does it require wordpress/ any cms to work?
    Anyway, it's a really good tutorial. So much details.
    I also think those who are here to learn php, does not need html or css explanations.

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

    Thank you for the wonderful video i"m enjoyed watching it. I only have one question in the header can i put index.html instead index.php ?

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

    It's nice but how to add some more fields into form e.g. Gender, number of persons, number of rooms, date of departure, date of arrival, etc etc please make a video on booking and enquiry form both

  • @olansean9868
    @olansean9868 5 ปีที่แล้ว

    YOU ARE THE BEAST OF PHP , love your job, you saved my ass :)

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

    Thanx. Helped me a lot. Good work!