11: Include and Require in PHP | Procedural PHP Tutorial For Beginners | PHP Tutorial | mmtuts

  Рет қаралды 47,926

Dani Krossing

Dani Krossing

Күн бұрын

Пікірлер: 71
@pbznt
@pbznt 2 жыл бұрын
I want to tell you that you are the best teacher on KZbin! I am studying programmation at school, but nothing compares to an in-depth tutorial like you do. Very well explained and well structured. Cheers from Quebec, Canada.
@i.t.starters2019
@i.t.starters2019 4 жыл бұрын
Man I just wanna say thank you. You are the best. If you can continue with OOP I would really really appreciate it.
@draketown2714
@draketown2714 4 жыл бұрын
Did not know i could include headers like this... mind blown, had IT class the whole last year and i always just copy pasted it in instead of doing this... omg this is so much cleaner thanku
@Jir0u
@Jir0u 2 жыл бұрын
It is so rare to find tutorials like these! Im binge watching every part of your tutorials rn and trying to apply it while watching
@QuietWind01
@QuietWind01 2 жыл бұрын
9:30 this right here will make building my sites so much easier, just this alone... I always find myself getting further into my projects, and remembering that now I have to go through 20 different pages to change a href to something, or add a button, or remove a button. Or change styling. This is so much better 🤣
@l3beast3
@l3beast3 3 жыл бұрын
ive been manually changing headers in each document for so long. this is game changing, thank you so much
@geneartista9714
@geneartista9714 4 жыл бұрын
Simply amazing, thanks for all these tutorials, you`re changing people`s lives man
@GelsYT
@GelsYT 4 жыл бұрын
I'll never forget your channel MMTUTS! YOU DESERVE A MILLION SUBS! This is the guy where I learn PHP!!!!!!!!!!
@GelsYT
@GelsYT 4 жыл бұрын
and SQL
@AdelinBonheur
@AdelinBonheur 4 жыл бұрын
You're helping us man for real. The best teacher I ever had.
@MakurDuony
@MakurDuony Жыл бұрын
I love the presentation you have done, this is where i will learn web development.
@ApplicableProgramming
@ApplicableProgramming 4 жыл бұрын
Great to see you continue with the php :) (after you mentioned the changes) You actually inspired me to start making tutorials, one day I hope to be close to your level of teaching! :)
@shikomatlala
@shikomatlala 3 жыл бұрын
I just started learning web development for my IT school project -- These are the most helpful tutorials ever...
@synthesis44
@synthesis44 4 жыл бұрын
Can't wait to see laravel tutorials in this channel
@ovieiffie7800
@ovieiffie7800 4 жыл бұрын
When are you going to continue your Object Oriented PHP course? You said you were going to apply it to something practical, like a login system
@miss3773516
@miss3773516 3 жыл бұрын
Awesome! I’m going to share this link with my class
@InactivePhoenix
@InactivePhoenix 2 жыл бұрын
I understand putting the tag into header.php for the sake of code reuse, but I'm having a hard time understanding how it would be appropriate to pull out the with the title and all the metadata. Surely that part of the file would still need to be unique for any given page of the site, particularly the title? You could maybe pass that information in with a function call, but to me that seems like replacing one form of boilerplate with another. Also, It kinda rubs me the wrong way having the opening and closing tags for in 2 separate files.
@elrobbo6
@elrobbo6 4 жыл бұрын
If people are just learning this for the first time it would have been good to mention that for the different meta tags and title and such, since it is a bad idea to have them the same on every page, you will want to create a variable for each one of those on each of the pages. And then in the file you include, in those locations, you would simply place that variable to fill out those fields dynamically based on the page it was on. Otherwise your whole site ends up with the same meta and title tags which is bad and Google will really not like it.
@muhammadabbagana3067
@muhammadabbagana3067 4 жыл бұрын
Thank you sir I really love your classes I almost watch your entire KZbin videos 😂. However I am still waiting for your class on API I think it needs to be done.
@mykolazhabko3228
@mykolazhabko3228 3 жыл бұрын
Thanks for this tutorial! Clear explanation!
@ericlau931210
@ericlau931210 4 жыл бұрын
I still remember when I still stucked on my university final year project and mmtuts guide really helped me alot to finish my project and study. Thank you so much, Love from Malaysia
@themayhemera3046
@themayhemera3046 4 жыл бұрын
I'm about to be in this situation soon 🥴
@christianachleitner9439
@christianachleitner9439 4 жыл бұрын
Maaaaan. Made my day. Awsome you are back with a php tutorial! :)
@tasianafranchetti9640
@tasianafranchetti9640 2 жыл бұрын
This is awsome! Thank you so much for your tutorials :)
@Muaaz-26
@Muaaz-26 4 жыл бұрын
Love u bro Your building my future❤❤
@djpeshmoh
@djpeshmoh Жыл бұрын
Thanks for awesome lessons
@Dani_Krossing
@Dani_Krossing Жыл бұрын
I have a newer 2023 course on my channel, in case you are interested 🙂
@pharaonex6770
@pharaonex6770 4 жыл бұрын
Thank you You made everything clear and easy ! Appreciated! 🤗😉
@cb_sp5022
@cb_sp5022 4 жыл бұрын
i dont know what you sey but you still good to make videos congratulations 280k subs
@Alexifeu
@Alexifeu Жыл бұрын
Will he be Giga Chad at the end of the Series. Also that he goes to the gym AND still has power tomake a video afterwards is insane. :D I am already exhausted from doing absolutely nothing.
@priemaster3058
@priemaster3058 2 жыл бұрын
Hey man, thanks a lot for the good tutorial! The german vod are very bad about it, but yours was very good!
@delderoiste5307
@delderoiste5307 4 жыл бұрын
Hi. Have always enjoyed and followed your tutorials. Can I ask or maybe some fans here know? Have you made any tutorials on how to join two tables with the same common column id to make an SQL query and then output it in the browser using PHP & MySQL? Thank you for the time and effort you put into your channel.
@yungifez
@yungifez 4 жыл бұрын
Best teacher ever Yay I was 4th to comment
@yotsusan_machi
@yotsusan_machi 3 жыл бұрын
dani krossing you are the best
@Atarian6502
@Atarian6502 Жыл бұрын
What is the best practice to name these files? In this example you used index.PHP which includes header.PHP. I normally use index.PHP which includes header.HTML (because there is no php code in the header portion). Also this would work fine if used index.HTML to include either header.PHP or header.HTML. So what would be the recommended naming practice? Thanks
@janramilintong1187
@janramilintong1187 4 жыл бұрын
simple but understandable
@sonoftheemperor5685
@sonoftheemperor5685 4 жыл бұрын
Out of left field question probably not related to the video but I’ve always wanted to learn how to make games like the old global warfare and kingdoms of Camelot. Got a video you recommended to start this process
@romankunstler5187
@romankunstler5187 4 жыл бұрын
You're a very very good teacher 👍 could you go ahead with you're php project, so ting like profile or special pages for some users like admin page. This would be so great
@sudharsanpaskaran
@sudharsanpaskaran 3 жыл бұрын
Thank you so much man
@jeff-wo6mm
@jeff-wo6mm 4 жыл бұрын
Is this the end? I see #12 and #13 but the titles are not the same and #13 is a topic already discussed in #8. Please advise of the order of these courses, assuming that there is more after this one
@alsongadizo1692
@alsongadizo1692 Жыл бұрын
hi great video, it has really assisted me in learning php, however when i try to use the include statement for my header within the php tags it isn't executing, the code is plain white i am using visual studio and the file is index.html. Need some help
@DevlogBill
@DevlogBill 2 жыл бұрын
I am thinking along the lines of JavaScript since this is my first programming language. Can it be said that the include is a method or similar to a module similar to JavaScript? I am probably over thinking this, thank you.
@Letsallparty2
@Letsallparty2 2 жыл бұрын
Help! when I call my header from sub folders files, the links look for corresponding nav files in the sub folder giving me error.
@pascalmer88
@pascalmer88 2 жыл бұрын
My CSS won't work when I include_once my header on my index, any thoughts?
@piper28mudai
@piper28mudai 4 жыл бұрын
Hi... i have problem.. my index and my other php pages(sample page, header.php,footer.php) is on different folder. whenever i move to that sample page, the require or include is break.. it cant load the header page require/include statement how can i solve the problem ?
@romankunstler5187
@romankunstler5187 4 жыл бұрын
A video about using cookies, and redirect after login to a user specific website I would appreciate
@tegapraiz2765
@tegapraiz2765 4 жыл бұрын
Do ypu have a course on phyton if ypu do please share the link
@aizazkhan2583
@aizazkhan2583 4 жыл бұрын
Hello....! sir when will you complete the PHP procedural tutorials plz tell me i just waiting for your 12 number video
@Adam-rn6lr
@Adam-rn6lr 4 жыл бұрын
Hi mmtuts, I would like to ask you how many years took you to learn PHP to this level ? Thank you for your answer
@muhammadasif8994
@muhammadasif8994 4 жыл бұрын
Can you please make video on reducing file size while uploading in php i have done to reduce image size but unable to reduce pdf and video
@amorsemlimite4427
@amorsemlimite4427 4 жыл бұрын
Thank you master
@tomasloparnik9256
@tomasloparnik9256 4 жыл бұрын
Quick question, On the login tutorial i got a wierd error (unexpexted 'else') Could you help me with that?
@MrJumpingmaniac
@MrJumpingmaniac 4 жыл бұрын
Maybe missing a ";" after the preceding statement.
@justdewmina
@justdewmina 2 жыл бұрын
Putting across nicely! Sometimes you look like Elon Musk!
@yar0607
@yar0607 2 жыл бұрын
1:53 You know "Link to the past" )))
@micomc
@micomc 4 жыл бұрын
How to include .html into .html without server, just client side in 2020?
@Julio860JVL
@Julio860JVL 4 жыл бұрын
For some reason this video is twice in the playlist together with video # 10. There is a total of 13 videos but # 10 and # 11 are twice in the playlist.
@Julio860JVL
@Julio860JVL 4 жыл бұрын
Link to playlist kzbin.info/aero/PL0eyrZgxdwhxhsuT_QAqfi-NNVAlV4WIP
@atomkedi3439
@atomkedi3439 3 жыл бұрын
Hello friends, how to find php?id on any site
@hadireg
@hadireg 4 жыл бұрын
👍👍❤
@mariamzayed91
@mariamzayed91 4 жыл бұрын
thank uuuu
@ahmedsunil3235
@ahmedsunil3235 4 жыл бұрын
why the video is repeated?
@1733pako
@1733pako 4 жыл бұрын
Where is the ‘love’ button when you need it?!!!
@priyapriya8238
@priyapriya8238 4 жыл бұрын
Hello, sir how to upload two image using HTML code (not insert)? upload this type of video sir.please upload fast
@purnamansinghrai3699
@purnamansinghrai3699 2 жыл бұрын
You'd better show this teaching in a text editor using computer keyboard!
@kabhikachambala3392
@kabhikachambala3392 3 жыл бұрын
I'm jelous . I woukd like to be you
@AndreGomesFilms
@AndreGomesFilms 4 жыл бұрын
First
@d-o-n-u-t
@d-o-n-u-t 4 жыл бұрын
congratulations. have your trophy. wow.
@BloodyClash
@BloodyClash 4 жыл бұрын
Don't agree with all your ways in all videos...but at least you're not trying to overcomplicating stuff by trying to use javascript for things php is born for. 😫keep spreading phpppppppp
@aizazkhan2583
@aizazkhan2583 4 жыл бұрын
Hello....! sir when will you complete the PHP procedural tutorials plz tell me i just waiting for your 12 number video
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 762 М.
KI Tools, die du für 2025 kennen solltest
5:40
Shakeela ZQ
Рет қаралды 92
What is mathematical thinking actually like?
9:44
Benjamin Keep, PhD, JD
Рет қаралды 10 М.
Math Olympiad Problem | Geendle
12:46
Geendle
Рет қаралды 192
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН