13: Our First PHP Project! | Procedural PHP Tutorial For Beginners | PHP Tutorial | mmtuts

  Рет қаралды 124,063

Dani Krossing

Dani Krossing

4 жыл бұрын

In this PHP tutorial video we will create a small project to help you understand how we handle data submitted by a user on our website.
➤ 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

Пікірлер: 133
@leopoldomedeiros8420
@leopoldomedeiros8420 3 жыл бұрын
That's why I love your videos, you explain the "whys" instead of the "whats". 99% of tutorials on KZbin are only coding along without any explanation, then we watch it feeling frustrated in the end cause we don't learn anything, we just copy and paste.
@m.hassan8142
@m.hassan8142 2 жыл бұрын
agreee with your point what is the ____ concept is on google search not why ??
@kaosfang6907
@kaosfang6907 3 жыл бұрын
Just started learning php yesterday and i gotta say ive never learned anything as fast as im learning php, super helpful content man! Thank you so much!
@imadel3647
@imadel3647 3 жыл бұрын
Daniel please please continue you're an amazing person, i have learned so many things from u, we need more people like you. Don't stop
@bobbyit5238
@bobbyit5238 3 жыл бұрын
Hey my name is Bobby and after watching your videos for months I’ve become a Zend Certified PHP Software Engineer! Thanks a lot for great amazing content!
@roshankc6044
@roshankc6044 4 жыл бұрын
Bro u helped me a lot to understand php whole login form i build and now e-commerce just with ur concept (contact ,comments,login,password reset password,payment method and so on) that's incredible piece i have build so far 😍😍😍 i really happy that being part of ur channel
@BviperR
@BviperR 3 жыл бұрын
Hey Dani Your videos are great man! Thanks a lot. I started lots of programming courses and never keep on going. But yours are the best one! Please, keep making more videos!
@mrmotion7942
@mrmotion7942 4 жыл бұрын
Great vid. I loved it when you coded along rather than just going though a slide show though. Thanks :D
@_wekesar_6639
@_wekesar_6639 4 жыл бұрын
Dani is the best. You taught me a lot in your lessons and now I build dynamic websites.
@drnfrsh
@drnfrsh Жыл бұрын
thank you so much for your videos. You break these down step-by-step and answer every question I have so far.
@subish20me
@subish20me 2 жыл бұрын
pressing the submit button gives me the php code what am i doing wrong
@ranitsaha7826
@ranitsaha7826 4 жыл бұрын
I always waited for this video from you dude, other channels are less interactive, and yes, some of them sucks. A lot. And this video was great. Plz do upload the next part soon. 😊😊
@paulsinyard4518
@paulsinyard4518 2 жыл бұрын
Excellent video, but although you do mention via a popup that you require the
@Escko
@Escko Жыл бұрын
Awesome tutorial Dani!!!! Thanks!
@sheltoncastelino8889
@sheltoncastelino8889 3 жыл бұрын
Awesome explanation! Loved it!!!
@janpedersen9120
@janpedersen9120 3 жыл бұрын
very good format, really like the simple stuff.. you can really build from this.
@davescorneroftheworld1147
@davescorneroftheworld1147 4 жыл бұрын
Again, you are a GREAT instructor. I wish I could hit the like button five or six times! Your NEW gaming stuff... well, I watch it to support you but I am 69 years old and gaming is not My thing.
@samirdutta6760
@samirdutta6760 Жыл бұрын
Excellent video. Learning a lot from you. Thank you .
@riskitall7421
@riskitall7421 3 жыл бұрын
Hey Daniel, been a follower for years, love your content - it’s taught me how to code. Furthermore, are you fluent in react? It’s needed in jobs today. I love your teaching style and wanted to see if you would make a tutorial if you knew react well.
@Teddyrobinson
@Teddyrobinson 2 жыл бұрын
Thanks so much for this course!
@Stoney_Eagle
@Stoney_Eagle 4 жыл бұрын
You've become a true coder haha, no more typing just magic appearance 😂😂 PHP is so much easier than C#. I whish there where some good explanatory tutorials for winforms 😉😉🙏
@l3beast3
@l3beast3 3 жыл бұрын
great video my dude. blessings to you
@carsmadness8555
@carsmadness8555 3 жыл бұрын
I created a blog system containing about 10 fields for the image upload. When I insert like 5 images and uploaded the blog to the web, the 5 empty fields will show the little icon when the image is not uploaded. Is there any way to hide this little icon if the image field was empty and it's empty in the database? Or i should every time change this add post codes? PLZ HELP!
@kayboat4620
@kayboat4620 Жыл бұрын
Bro, thanks very much for the tut...
@processorbot8761
@processorbot8761 4 жыл бұрын
great video !!
@creativeakshara8438
@creativeakshara8438 4 жыл бұрын
Thanks 😊 For this
@Gunesibraim
@Gunesibraim Жыл бұрын
This is great example thank you.
@farrokhghayyem
@farrokhghayyem 3 жыл бұрын
thank you men I'm from Iran and Id liked this php learn
@mimme864
@mimme864 10 ай бұрын
im not getting the value printed in the page, are all of these codes in one file or two files? functions and index?
@sudharsanpaskaran
@sudharsanpaskaran 3 жыл бұрын
Amazing vid!!
@christinandfilm7657
@christinandfilm7657 3 жыл бұрын
currently learning this in my bootcamp
@patrikkortvely1164
@patrikkortvely1164 3 жыл бұрын
Hi guys, can u help me pls? Whenever I'm working with xampp, after turning off the computer the file does not work until I create a new one and copying the exact same code into it. Do you have the same problem? Thanks for help and have a nice day!
@madsa2332
@madsa2332 3 жыл бұрын
Great videos brother! It seems somehow i cant see the two last videos from this course. I think the video number 14 and video number 15 somehow got removed by youtube. Can you please reupload them. I would preciate that 🙏🏼🙏🏼
@jvhorca545
@jvhorca545 3 жыл бұрын
It would be awesome if you start a series of tutorials about PHP Frameworks
@juniorpirela6885
@juniorpirela6885 4 жыл бұрын
I love this tutorials, can you explain send data with ajax please??
@dcry1003
@dcry1003 3 жыл бұрын
so if *and if* i finish writing the code but instead of getting the value of the added/subtracted number i get none a blank white screen with no text whatsoever *how should i fix it cuz i copied the whole code in the screen and put the folder in the htdocs folder* help! TwT
@EagleGiggles
@EagleGiggles 2 жыл бұрын
I respect you!!!!!!
@dilipdey5632
@dilipdey5632 4 жыл бұрын
Sir, I loved your videos.But,I have a problem in videos .That is gallery videos its php version 7.4.6 and it shows error parameter in php version 7.4.8
@jaspreetsingh8434
@jaspreetsingh8434 2 жыл бұрын
Amazing video
@waeds3131
@waeds3131 29 күн бұрын
thanks bro 🥰
@sanaasana3309
@sanaasana3309 3 жыл бұрын
hello sir,first of all thank you so much for this tutorial,could you please tell me if I can watch your ancient tuto even if it's not updated yet because I really like how you teach PHP
@metadance3028
@metadance3028 3 жыл бұрын
I love to learn ReactJS :3 i hope you teach ReactJS :>>
@bekriberhanu2470
@bekriberhanu2470 2 жыл бұрын
thanks a lot.
@MicheleMoodispaugh
@MicheleMoodispaugh 8 ай бұрын
cool video)
@maximk7816
@maximk7816 3 жыл бұрын
You should tell more about "pure coincidence". Does this mean I could use different names for passing values?
@ahangaraadil
@ahangaraadil 4 жыл бұрын
Simple but dope. 👻
@DevlogBill
@DevlogBill 2 жыл бұрын
Excellent video! I learned so much. I used to always wonder when creating HTML and CSS what in the world is this name="null" used for? Now I know thanks.
@RICO_2jz
@RICO_2jz 3 жыл бұрын
Hello! Can you make vid to make website html in mobile plz Because i have prob with css Its not connecting? Why? Plz make vid
@matevzrutnik2929
@matevzrutnik2929 Жыл бұрын
Why did error acured when i first write case and then it sid that problem is unexpected cse
@ashkanahmadi
@ashkanahmadi 3 жыл бұрын
Hi Dani. Your videos are excellent. You have a playlist PHP Tutorials with 65 videos in it. Are you going to redo all those videos in this updated playlist? Thanks
@manuelsaturday8559
@manuelsaturday8559 4 жыл бұрын
Yeeeesss. Comeback
@IspanasOnTop
@IspanasOnTop 3 жыл бұрын
4:58 "label choose operation", where did that go? Shouldnt it suppose to be one of the options or like a placeholder for oper? Also instead of getting white space, im getting error undefined value messages when values are just empty, any advice? thx
@marginZer0
@marginZer0 3 жыл бұрын
The label tag is attached to the input so that when clicked on it focuses on that input (mainly mobile related). It is also for screen reader usability etc. Kinda pointless in this particular situation. In order to get a placeholder in a select you can use this: Placeholder goes here.
@ascadasc
@ascadasc 2 жыл бұрын
thank you so much I made my own calculator
@geofsaviationhub6979
@geofsaviationhub6979 4 жыл бұрын
Hello Dani can you make some more vids on MySQL and PHP projects?
@evivox
@evivox 3 жыл бұрын
Instead of you could have written , as the user wouldn´t be able to type strings into those input fields.
@manv5908
@manv5908 3 жыл бұрын
Could you please make an video on Dynamic Select box, thank you!
@sujalkhatiwada6535
@sujalkhatiwada6535 4 жыл бұрын
Please make a real world OOP based project. it will really help, if possible make using MVC, because there are not so much such tutorials which gives real life experience in mvc by doing real life project.
@anasmikael5753
@anasmikael5753 3 жыл бұрын
Hi, where is the number 14.. I could not find it..The only one I have now is number 15 (create a php Calculator)
@name_code5092
@name_code5092 2 жыл бұрын
Hi sir I want ask how to develop a website using two different languages like php and c# or other lang Im just so curious
@sanamshaikh3087
@sanamshaikh3087 3 жыл бұрын
How can I develope oop based monthly income/outgoing system in web develpmnt
@johnlee5941
@johnlee5941 3 жыл бұрын
Hi Dani, I follow your instructions step by step, but I can’t compile the results successful. Finally I found that I need put those super global $_GET inside the functions to compile, so weird….
@Pradeepkarn
@Pradeepkarn 4 жыл бұрын
Hw to make unique slugify url in php
@sanamshaikh3087
@sanamshaikh3087 3 жыл бұрын
How can I create login system for monthly income without form in oop php
@griep5735
@griep5735 3 жыл бұрын
I'm a little confuced... The code works for the most part, but it wont actually output the result whenever I say: echo "Value: " . myCalc($num01, $oper, $num02); It only actually output the result when I say: echo myCalc($num01, $oper, $num02); Did I get the string-operator wrong? I managed to find the problem, but don't know how to fix it...
@mimme864
@mimme864 10 ай бұрын
similar problem, what do i do?
@by6321
@by6321 4 жыл бұрын
@Dani Please make a Codeigniter 4 tutorials.
@AndrewOBannon
@AndrewOBannon 3 жыл бұрын
1. is it essential for php developer to know wordpress and other other cms? 2. how often does php developer need to adjust apache server?
@geneee
@geneee 4 жыл бұрын
PHP MVC Project please. Many companies uses the MVC framework, and the procedural is really not that efficient.
@JacksonMarshal
@JacksonMarshal 4 жыл бұрын
Luv u men 🌹
@ayoubdardar6614
@ayoubdardar6614 Жыл бұрын
Whta if submit nothing ?
@tanmaykokkula6211
@tanmaykokkula6211 26 күн бұрын
You're very pretty! ^_^
@rzar5476
@rzar5476 Жыл бұрын
how to tell that submit button will shows the php code, i mean , what if there is 2 button on the form tag?
@Dani_Krossing
@Dani_Krossing Жыл бұрын
You wouldn’t have more than one button per submit. 🙂 It would have no purpose.
@wibudesu205
@wibudesu205 4 жыл бұрын
Can you make a laravel tutorial?
@devTalks3641
@devTalks3641 Жыл бұрын
throught this example I found it extremely similar to javascript syntax
@messismo10
@messismo10 3 жыл бұрын
In PHP the database connetion must be a singleton?, sorry for my english.
@Sencifouy
@Sencifouy 3 жыл бұрын
"Must"? No. It's better for it to be , though. As opening up a DB connection is resource heavy.
@messismo10
@messismo10 3 жыл бұрын
@@Sencifouy Thanks bro.
@jolasunbankoke1712
@jolasunbankoke1712 2 жыл бұрын
Followed code for code, didnt work it is saying it Undefined array key "oper" "num01 and 2"
@mimme864
@mimme864 10 ай бұрын
same, did u figure it out?
@muhammadabbagana3067
@muhammadabbagana3067 4 жыл бұрын
I think is time to start a PHP framework either laravel or Codeigniter
@Galgaldas
@Galgaldas 3 жыл бұрын
Symfony
@muhammadabbagana3067
@muhammadabbagana3067 3 жыл бұрын
@@Galgaldas why symfony??
@ongkylianando1870
@ongkylianando1870 3 жыл бұрын
Can u please make a tutorial about. Making a pdf and send it to email using php
@princealien6448
@princealien6448 3 жыл бұрын
what kind of programming language are you using? thank you. i'm learning a lot from you. I'm a third year student taking Information Technology course. And your tutorials are helping me a lot specially now that we are learning from online classes.
@QuietWind01
@QuietWind01 2 жыл бұрын
It literally says it in the title, PHP
@davidbayo4243
@davidbayo4243 3 жыл бұрын
Please sir.... How to make payment on a website using PHP
@yousifky
@yousifky 3 жыл бұрын
@sadafrad
@sadafrad 3 жыл бұрын
Hi i did exactly the same but the result was the content of function.php file !! Why? Would you please guide me?🙏🏻
@QuietWind01
@QuietWind01 2 жыл бұрын
You need to have this running on a live server or localhost server. PHP is serverside code and needs to run on a server. You cannot just double click a .php file and open it in your browser to make it work like you could a .html file
@YK-dx4ux
@YK-dx4ux Ай бұрын
You need to have local server environment and you need to open your php file with the proper tags ( start with )
@nv3796
@nv3796 Жыл бұрын
can't find #14
@Wohaho
@Wohaho 3 жыл бұрын
I just one to add something, please make sure you are using htmlspecialchars or htmlentities as he did not say anything about that. Anyway great video
@Dani_Krossing
@Dani_Krossing 3 жыл бұрын
Thank you :) You are right, htmlspecialchars() would be a required addition to my little exercise here to prevent a user from injecting code into the website. Should have included that as well.
@markcremer3954
@markcremer3954 3 жыл бұрын
Realy like you vid's but at 6:57 you say at the very first you create a function.....so my code wasn't working checked it twice all ok so I tried te add at the very first its workink now... I thought is only within HTML-code.
@yigitsr
@yigitsr 2 жыл бұрын
No. Whenever you write php code, it should be inside tag. Otherwise php code won't work.
@koenv5740
@koenv5740 2 жыл бұрын
Same here until I added the
@QuietWind01
@QuietWind01 2 жыл бұрын
Always have at least an opening tag, however if, you have a .php file with PURELY PHP code, you should start with an opening tag, it can cause your PHP code to not run and throw out errors
@yasironvideo
@yasironvideo 11 ай бұрын
No where I see "Choose operation!" on the html page, why did we write it?
@Dani_Krossing
@Dani_Krossing 11 ай бұрын
5:34
@yasironvideo
@yasironvideo 11 ай бұрын
@@Dani_Krossing Thank you so much for your swift response, however I don't see the label "Choose operation!" in the form (run time)
@EmailSlapper
@EmailSlapper Жыл бұрын
Thank you Dani! I sent you an email.
@harishkushwaha4254
@harishkushwaha4254 3 жыл бұрын
Pls make a video for security and making a hack free website
@luisjimenezjimenez3288
@luisjimenezjimenez3288 3 жыл бұрын
you have a little mistake, you misplaced the label tag, it should be outside the select tag and you put it inside, regards!
@0x1stvan
@0x1stvan 3 жыл бұрын
You are worked in production with procedural php?
@Sencifouy
@Sencifouy 3 жыл бұрын
no
@Aymaan_Mulla_TECH
@Aymaan_Mulla_TECH 4 жыл бұрын
Bro when are u gonna update the old php playlist
@Dani_Krossing
@Dani_Krossing 4 жыл бұрын
That's what I'm doing right now 😅 literally with this video
@Stoney_Eagle
@Stoney_Eagle 4 жыл бұрын
@@Dani_Krossing haha
@Aymaan_Mulla_TECH
@Aymaan_Mulla_TECH 4 жыл бұрын
@@Dani_Krossing thanks a lot for the feedback sorry for disturbing u
@Dani_Krossing
@Dani_Krossing 3 жыл бұрын
@@Aymaan_Mulla_TECH No problem ;) and no need to apologize for asking questions :) I'm more than happy to answer
@I1Ido.
@I1Ido. Жыл бұрын
what is dir="ltr"????
@Dani_Krossing
@Dani_Krossing Жыл бұрын
It's just a indicator to where the text should align to, since some countries write text from "right to left", instead of "left to right". 🙂 You can just leave it out, and it will default to "left to right".
@I1Ido.
@I1Ido. Жыл бұрын
@@Dani_Krossing ok! i found this very helpful.
@kylebanner788
@kylebanner788 2 жыл бұрын
thank you code mr beast
@vectorv750
@vectorv750 2 жыл бұрын
Hi everyone I would like to ask for some advice from this community of web developers about the problem that I am facing right now as I am personally not an IT person. I hired a web developer to develop an e-commerce website for me. Yesterday I came to know that the PHP version that was used to creat the website was very old, it’s PHP 5.6. A friend of mine who a understand a thing or two about the web development, said that this web developer had you, in an ugly way thoroughly. What he meant is that the version is to old. And it’s practically useless. He said it’s impossible to upgrade it or do anything about it. He said the web developer sold me a useless website. If it’s not a problem for you guys, could you please enlighten me as how bad is my situation here, and if my friend is right. Because, though my friend understanding something about web developing but he is not a professional.
@YK-dx4ux
@YK-dx4ux Ай бұрын
Contact your hosting party, they will be able to advise you. If you upgrade your PHP you can always revert it (though it might be difficult with v5.6)
@tenminutetokyo2643
@tenminutetokyo2643 4 жыл бұрын
DOOD!
@davo._.4447
@davo._.4447 3 жыл бұрын
Notice: Undefined variable: num02 in C:\xampp\htdocs\my website\functions.php on line 22 this shows up everytime i run the programme on local host any help?
@QuietWind01
@QuietWind01 2 жыл бұрын
Spelling or syntax error most likely
@komm11
@komm11 2 жыл бұрын
I have just watched #13, where is #14?
@Dani_Krossing
@Dani_Krossing 2 жыл бұрын
If there are no more videos in the playlist, this is the last one.
@komm11
@komm11 2 жыл бұрын
​@@Dani_Krossing Confused after having found another similar PHP course of yours kzbin.info/www/bejne/o4nHoXaInLdgrqc ...
@martylavender7299
@martylavender7299 2 жыл бұрын
I cant be the only one that thinks this but Daniel low-key looks like Elon Musk! Haha Dope!
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 11 МЛН
小宇宙竟然尿裤子!#小丑#家庭#搞笑
00:26
家庭搞笑日记
Рет қаралды 15 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 19 МЛН
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 25 МЛН
PHP in 100 Seconds
2:21
Fireship
Рет қаралды 1,3 МЛН
Learn web development as an absolute beginner
12:57
Coder Coder
Рет қаралды 2,9 МЛН
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 11 МЛН