
PHP Programming Language Tutorial - Full Course
video description
Date: 2022-03-14
Related videos
Comments and reviews: 10
Noppa
Tip for others learning, if you're new to coding in general and don't know this: you can comment what the code is meant to do with //. Just write your comment after the //, and it won't affect the code itself. Works on all(?) languages, and can also be used to temporarily remove a line of code to see if something/anything changes.
This'll help you remember when you look back (and while learning!), and helps others reading the code understand what the line/block should do.
Ex.: $name[0] = -G-; //replace set character with another; here, first letter becomes G.
or
//echo strtolower(--); //this line isn't active and doesn't affect the code whatsoever. Remove the // in front of -echo- to include again.
or
If you feel like it, I suppose you could also after a long battle with the code comment, //I don't know why this part works now, but it does.
reply
Tip for others learning, if you're new to coding in general and don't know this: you can comment what the code is meant to do with //. Just write your comment after the //, and it won't affect the code itself. Works on all(?) languages, and can also be used to temporarily remove a line of code to see if something/anything changes.
This'll help you remember when you look back (and while learning!), and helps others reading the code understand what the line/block should do.
Ex.: $name[0] = -G-; //replace set character with another; here, first letter becomes G.
or
//echo strtolower(--); //this line isn't active and doesn't affect the code whatsoever. Remove the // in front of -echo- to include again.
or
If you feel like it, I suppose you could also after a long battle with the code comment, //I don't know why this part works now, but it does.
reply
Joseph
The associative array example doesn't work for me. I'm getting a Undefined index notice and when I click the submit, it doesn't print out anything and my code is exactly like yours. So IDK how to get this to work, so frustrating all the updates and changes. I'm using php 7.4 Google search tells me to use isset to get rid of the notice or it can be ignored but it's still isn't -echoing- the result when I click the submit button.
reply
The associative array example doesn't work for me. I'm getting a Undefined index notice and when I click the submit, it doesn't print out anything and my code is exactly like yours. So IDK how to get this to work, so frustrating all the updates and changes. I'm using php 7.4 Google search tells me to use isset to get rid of the notice or it can be ignored but it's still isn't -echoing- the result when I click the submit button.
reply
luka
Hi, First of all thanks for your tutorial.
I have a question. So, in Building a Basic calculator, when I try to get access on submitted numbers on the page it says undefined array key -num1- and the same for -num2-. can u help me or tell me what I am doing wrongly. Thanks a lot in advance!
reply
Hi, First of all thanks for your tutorial.
I have a question. So, in Building a Basic calculator, when I try to get access on submitted numbers on the page it says undefined array key -num1- and the same for -num2-. can u help me or tell me what I am doing wrongly. Thanks a lot in advance!
reply
Joseph
When he did the if else blocks to tell if someone is male, I couldn't help but think that in today's world we need this function because so many people do not know if they are male or female. it's really sad but it's true.
reply
When he did the if else blocks to tell if someone is male, I couldn't help but think that in today's world we need this function because so many people do not know if they are male or female. it's really sad but it's true.
reply
Ghasem
Hi your vedio is amazing keep it up.
I'm a beginner programer and I have a question. Must we store in drive C and user part or I can store it in other drive? I store it in other drive and I don't get answer.
reply
Hi your vedio is amazing keep it up.
I'm a beginner programer and I have a question. Must we store in drive C and user part or I can store it in other drive? I store it in other drive and I don't get answer.
reply
OLATUNJI
Thanks for this great beginner's course . But please can you do a more advanced php course ?.... something like how to use external libraries, connecting/working with databases, working with files, etc
reply
Thanks for this great beginner's course . But please can you do a more advanced php course ?.... something like how to use external libraries, connecting/working with databases, working with files, etc
reply
Lady
I noticed your lucky numbers array was just one number off from the -Lost- tv show numbers (it would be 15 instead of 14)-was this intentional??
reply
I noticed your lucky numbers array was just one number off from the -Lost- tv show numbers (it would be 15 instead of 14)-was this intentional??
reply
Guy
Thanks for the video, very helpful in learning the basics
I love your video, but a side note: Square root is not the opposite of Power. log is.
reply
Thanks for the video, very helpful in learning the basics
I love your video, but a side note: Square root is not the opposite of Power. log is.
reply
Zaki
Thank you for the great wrok Mike ! I started my journey two month ago by watching your HTML course , here I am back after learning CSS and JS.
reply
Thank you for the great wrok Mike ! I started my journey two month ago by watching your HTML course , here I am back after learning CSS and JS.
reply
Atharva
4:25:00 -- He said that there's an easier way to write the comparison statement. Can anyone comment down any alternative method
reply
4:25:00 -- He said that there's an easier way to write the comparison statement. Can anyone comment down any alternative method
reply
Add a review, comment
Other channel videos















