
PHP Tutorial for Beginners - Full Course OVER 7 HOURS! - Envato
video description
Date: 2022-09-19
Related videos
Comments and reviews: 20
Yi
Hi, this video is fantastic, very good for beginners, thanks!
When I executed the code in section 4. 4, I got a notice: 'Trying to access array offset on value of type null in xxx\views\layout. view. php on line 16'.
It doesn't work if the 'term' can not be found, which means the 'not_found. view. php' can not be displayed.
I tried to solve it, but I was failed. So, I got the source code from author's github and tried to run it as well, but the issue is still there on my local mechine. It makes me sad.
A solution for me is to remove the code '' in 'layout. view. php', but it's not the best solution. Because the 'title' is lost.
Could anyone give me some tips for solving it? Thanks.
reply
Hi, this video is fantastic, very good for beginners, thanks!
When I executed the code in section 4. 4, I got a notice: 'Trying to access array offset on value of type null in xxx\views\layout. view. php on line 16'.
It doesn't work if the 'term' can not be found, which means the 'not_found. view. php' can not be displayed.
I tried to solve it, but I was failed. So, I got the source code from author's github and tried to run it as well, but the issue is still there on my local mechine. It makes me sad.
A solution for me is to remove the code '' in 'layout. view. php', but it's not the best solution. Because the 'title' is lost.
Could anyone give me some tips for solving it? Thanks.
reply
Cbb
MariaDB is a fork of MySQL. The word fork means a software that works like another software, looks like the other software, and frequently contains much of the code base of the original software. It was created by the people that originally created MySQL. It is a drop in replacement for MySQL, and works almost identically to MySQL. XAMPP originally had MySQL. When Oracle took over MySQL, some people felt that they (Oracle) would stop making the open-source version of MySQL available. Thus the creation of MariaDB by many of the same people that created MySQL. You should try out XAMPP and see if you like it. I think you will prefer it, since it works on Linux, MAC, and Windows.
reply
MariaDB is a fork of MySQL. The word fork means a software that works like another software, looks like the other software, and frequently contains much of the code base of the original software. It was created by the people that originally created MySQL. It is a drop in replacement for MySQL, and works almost identically to MySQL. XAMPP originally had MySQL. When Oracle took over MySQL, some people felt that they (Oracle) would stop making the open-source version of MySQL available. Thus the creation of MariaDB by many of the same people that created MySQL. You should try out XAMPP and see if you like it. I think you will prefer it, since it works on Linux, MAC, and Windows.
reply
No
I totally disagree what you said at 3: 51: 10 about frontend and backend. Admin has usually frontend which speaks with the server logic (which is backend. It's the same for the storefront (what user sees) which has frontend stuff which the backens logic.
I understand that it's for learning purposes. But why you dont teach for example with strict types comparsion? Why no MVC? Why not going together with the latest PHP? Why not going together with the psr? Why not using namespaces?
reply
I totally disagree what you said at 3: 51: 10 about frontend and backend. Admin has usually frontend which speaks with the server logic (which is backend. It's the same for the storefront (what user sees) which has frontend stuff which the backens logic.
I understand that it's for learning purposes. But why you dont teach for example with strict types comparsion? Why no MVC? Why not going together with the latest PHP? Why not going together with the psr? Why not using namespaces?
reply
Cbb
I fired up my Ubuntu VM then Firefox then I went to the MAMP download website. While running Linux, it recommends windows download. The windows install will not work on Linux. I could not find a way to install MAMP on Linux. I'm sure that MAMP is a fine software package. But it does not seem as if it works with Linux to me. That's why I think XAMPP is a much better tool for teaching PHP Programming. XAMPP works with macOS, Windows, and Linux.
reply
I fired up my Ubuntu VM then Firefox then I went to the MAMP download website. While running Linux, it recommends windows download. The windows install will not work on Linux. I could not find a way to install MAMP on Linux. I'm sure that MAMP is a fine software package. But it does not seem as if it works with Linux to me. That's why I think XAMPP is a much better tool for teaching PHP Programming. XAMPP works with macOS, Windows, and Linux.
reply
mega
hi, there are issues on chapter 4. 6, the CSS is not longer working when APP_NAME is made and used. also I get this error in the admin and main index pages PHP Fundamentals:
Notice: Trying to access array offset on value of type null in \4. 6\views\layout. view. php on line 16 and when I tried the copy you had on git hub it had the same issues.
can you please help?
reply
hi, there are issues on chapter 4. 6, the CSS is not longer working when APP_NAME is made and used. also I get this error in the admin and main index pages PHP Fundamentals:
Notice: Trying to access array offset on value of type null in \4. 6\views\layout. view. php on line 16 and when I tried the copy you had on git hub it had the same issues.
can you please help?
reply
Bullet
So I haven't started on this course yet, but I see some new comments saying it is outdated because FILTER_SANITISE_STRING is now deprecated. According to one source I just read, deprecated functions should still work, but will always give you a warning because they are outdated and may cease to work in the future. Can anyone confirm this?
reply
So I haven't started on this course yet, but I see some new comments saying it is outdated because FILTER_SANITISE_STRING is now deprecated. According to one source I just read, deprecated functions should still work, but will always give you a warning because they are outdated and may cease to work in the future. Can anyone confirm this?
reply
Abdul
I have to say your course is the best to teach PHP at the moment, I wish it was up online earlier, because I learned PHP in the hard way for years and I actually code exactly like you, same folder order and functions (view, redirect etc, but I think new learners will find this course very helpful.
reply
I have to say your course is the best to teach PHP at the moment, I wish it was up online earlier, because I learned PHP in the hard way for years and I actually code exactly like you, same folder order and functions (view, redirect etc, but I think new learners will find this course very helpful.
reply
Martin
03: 08: 39
How is it possible that when he commented out the $view_bag field, he didn't get the warning: Trying to access array offset on value of type null in /www/php/4. 1/views/layout. view. php on line 16 after layout. index. php tries to get to $view_bag['title']?
reply
03: 08: 39
How is it possible that when he commented out the $view_bag field, he didn't get the warning: Trying to access array offset on value of type null in /www/php/4. 1/views/layout. view. php on line 16 after layout. index. php tries to get to $view_bag['title']?
reply
Demetrius
Easily one of the best php courses on the internet! Packed with so much information and so well explained. Includes a unique project to really hammer in the new knowledge. I wish it touched on Traits a bit but outside of that, this course is perfect.
reply
Easily one of the best php courses on the internet! Packed with so much information and so well explained. Includes a unique project to really hammer in the new knowledge. I wish it touched on Traits a bit but outside of that, this course is perfect.
reply
BradDaGodz
Would like to see a video on how you like instead of moving your mouse and clicking at the end of the word to add something you can like jump to the end of that word, or when you add in as such you automatically have them apart on different lines.
reply
Would like to see a video on how you like instead of moving your mouse and clicking at the end of the word to add something you can like jump to the end of that word, or when you add in as such you automatically have them apart on different lines.
reply
Maxfrischdev
I guess, as long as it's at least php 7 it doesnt really matter or hurt, that this course seems to be from 2017 to still be up-to-date and relevant(still working I mean) today in 2022 with php 8 (and changes here and there) out, right?
reply
I guess, as long as it's at least php 7 it doesnt really matter or hurt, that this course seems to be from 2017 to still be up-to-date and relevant(still working I mean) today in 2022 with php 8 (and changes here and there) out, right?
reply
Asit
great tutorial. how do I set the default folder? I have folder1, folder2, etc. and in folder1, i have index. php. how do i map it so that when I type in localhost: 8888 it goes to the index. php in folder1?
reply
great tutorial. how do I set the default folder? I have folder1, folder2, etc. and in folder1, i have index. php. how do i map it so that when I type in localhost: 8888 it goes to the index. php in folder1?
reply
Webdev
Thank you very much, I am stuck in a onsite support role in which the only escape is to change my career path. I want to go into software development, but I am 37 and feel that I might be too old already.
reply
Thank you very much, I am stuck in a onsite support role in which the only escape is to change my career path. I want to go into software development, but I am 37 and feel that I might be too old already.
reply
Uchenna
I have watched this over and over, moved from zero to hero. This is the best PHP tutorial ever. Your explanation is great. Thanks so much Jeremy. I would also love you to do same with JavaScript.
reply
I have watched this over and over, moved from zero to hero. This is the best PHP tutorial ever. Your explanation is great. Thanks so much Jeremy. I would also love you to do same with JavaScript.
reply
Uchenna
Great Course.
I learnt FILTER_SANITISE_STRING is now deprecated. Which alternative can I use instead to sanitize user input.
$temp = filter_var(trim($value, FILTER_SANITIZE_STRING);
reply
Great Course.
I learnt FILTER_SANITISE_STRING is now deprecated. Which alternative can I use instead to sanitize user input.
$temp = filter_var(trim($value, FILTER_SANITIZE_STRING);
reply
Martin
Great tutorial, thanks a lot! From 5. 1 you use syntax coloring (maybe theme) for your php code similar to js code. May ask how you get that? My OCD is killing me, need it bad: )
reply
Great tutorial, thanks a lot! From 5. 1 you use syntax coloring (maybe theme) for your php code similar to js code. May ask how you get that? My OCD is killing me, need it bad: )
reply
Ralph
Very nice and well explained course, THANK you!
One question I have: Should I use CamelCase or underscore_case for defining variables and functions?
reply
Very nice and well explained course, THANK you!
One question I have: Should I use CamelCase or underscore_case for defining variables and functions?
reply
D1
3: 26: 54
FILTER_SANITIZE_STRING is now deprecated, what what's the correct alternative to that?
Please tell me, and update the course accordingly.
reply
3: 26: 54
FILTER_SANITIZE_STRING is now deprecated, what what's the correct alternative to that?
Please tell me, and update the course accordingly.
reply
Farhan
Will I be able to read and do some basic changings in WordPress PHP files? Like theme, plugin files etc after watching this course? Please reply
reply
Will I be able to read and do some basic changings in WordPress PHP files? Like theme, plugin files etc after watching this course? Please reply
reply
Mahmood
Would someone like to tell me which one version of PHP this Guy is teaching so please mention me.
Or reply back.
reply
Would someone like to tell me which one version of PHP this Guy is teaching so please mention me.
Or reply back.
reply
Add a review, comment
Other channel videos















