Тёмный
No video :(

Intro to PHP 

Steve Griffith - Prof3ssorSt3v3
Подписаться 102 тыс.
Просмотров 7 тыс.
50% 1

This is a basic introduction to programming with PHP to create dynamic web pages.
Learn how to render web pages in the browser with PHP.
Learn how to inject blocks of PHP script inside HTML files.
Learn how to inject the values of PHP variables inside HTML attributes.
Code GIST: gist.github.co...

Опубликовано:

 

23 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 32   
@joaomatos1144
@joaomatos1144 3 года назад
After 39 Videos of SQL. PHP here we go!! This Man is a LEGEND!
@prisciladantas4476
@prisciladantas4476 3 года назад
I love your videos, the way you speak and explain! Thanks so much
@sagarsha7734
@sagarsha7734 5 лет назад
I love your all playlist and thanks ❤️ for making that 🤗
@sorachan6156
@sorachan6156 5 лет назад
Hello~Thank you so much for this tutorial!! I was so lost and this video really helped me a lot to understand better how it works^^ Thanks :D
@briacroa6681
@briacroa6681 2 года назад
Hey You folks. Are You looking for a well done course on Css, Javascript, PHP, MySQL stuff ? Well, this is the right place.
@mdarif2835
@mdarif2835 3 года назад
Sir, could you please upload full long tutorial i.e. combination of all video playlist in one video. So, may be it helpfull for everyone.
@LucianoClassicalGuitar
@LucianoClassicalGuitar Год назад
I don't quite understand how $class from line 63 can read what is happening in the $class variables in line 57 and 59. Does putting a $ in front of the variable make them visible from everywhere?
@SteveGriffith-Prof3ssorSt3v3
All variables in PHP start with $.
@ben9008
@ben9008 5 лет назад
Hi, Im very new to all of this, so what would you want to use this for in your webpage? Thanks
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 лет назад
PHP is a server side programming language used to generate the HTML that will be sent to the browser.
@webstuff56
@webstuff56 6 лет назад
Steve will you be doing pass by value / pass by reference pls?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 6 лет назад
David Hahn I will add it to my list
@webstuff56
@webstuff56 6 лет назад
Seems you're just putting a series together now (claps!). Please cover Ternary, as well as short syntax, truthy's and falsy's thoroughly as that stuff can get confusing. I had to watch another course twice just to get over the panic. So I've learn't GET and POST are arrays huh! A pre-question: those methods get defined in form tags. Is there some behind the scenes magic that turns them into arrays?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 6 лет назад
PHP does the work of converting the data into Arrays. The super global arrays that get created by PHP are $_GET, $_POST, $_SESSION, $_SERVER, $_FILES, $_REQUEST, and $_COOKIE
@webstuff56
@webstuff56 6 лет назад
Thank you Steve. Are you going to be covering those global arrays in detail? Also, when folks learn PHP is there a need, like JS, to learn "under-the-hood?" I gauge what I need to learn by jumping around from different sources, including a look inside books on Amazon: I dont really see chapters or sections dedicated to anything behind the scenes. Where one canot learn JS without understanding the execution context: how variables and functions get hoisted and set, along with how the stack is executed, I wasn't sure if there were something similar in PHP.
@webstuff56
@webstuff56 6 лет назад
Do you have a text book to recommend that also serves as a good reference manual that I could find on Amazon?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 6 лет назад
This summer I will be doing videos that are specific to a few courses that I am preparing for and one that I am helping another teacher with. I will be doing some more PHP videos (not sure how many yet), as well as HTML, CSS, more JavaScript, plus ReactJS and a few other assorted things.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 6 лет назад
And as for "under-the-hood" with PHP, it is always better to understand how various languages work. The more you understand about how the language deals with data, the better you will be. I've been doing web development for over 20 years and I'm still learning new things every week.
@ikhsanhaikal3833
@ikhsanhaikal3833 4 года назад
Hey Steve what is the difference between dynamic page in JavaScript and php ?, since both can access html file
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 года назад
The difference is that PHP runs on the web server. It runs once and generates the HTML. After it has run once there is no more connection with the browser. The PHP has no more access to anything. JavaScript runs in the browser and can run continually and repeatedly update the content on the page.
@tezzarida
@tezzarida 4 года назад
Hey Steve, again I want to thank you for all this material you make for us and also want to ask a question. I have Local by Flywheel in my PC installed which has taken the port 80 , so when I want to run MAMP, it says "the port 80 is busy" and offers to use next free one, I say "ok, let's use the next free one" , but after that it just doesn't work (it doesn't open the MAMP start page, returns "Unable to connect" Firefox can’t establish a connection to the server at localhost.). Then I had a look on httpd.conf file and changed "Listen 80" to "Listen 8080" hoping that it would work, but it didn't. Any ideas how can I fix this issue?
@tezzarida
@tezzarida 4 года назад
UPD: I solved this problem by changing PHP version in MAMP (MAMP > Preferences > PHP > Standard Version: 7.2.14 (default was 7.3.7)) Hope it will help someone!
@joel9909
@joel9909 4 года назад
The temporary fix is to kill whatever is running on port 80, and rerun mamp. Two things cannot be listening on the same port unless something called a reverse proxy is created (I'm still trying to wrap my head around that using Nginx).
@ramilali6190
@ramilali6190 5 лет назад
Copied your source code from github to dreamweaver but doesn't work prnt.sc/oqbjt2
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 лет назад
There looks like there is a gap in your page where the PHP content is. Are you running it through a web server with PHP enabled on a page with a .php file extension? It's not like HTML. You can't just open it in the browser directly. When you view source on the page do you see the php code? If you do then it is not going through the PHP program on the webserver.
Далее
Strings in PHP
6:37
Просмотров 2,9 тыс.
Session Management Intro with PHP
19:32
Просмотров 11 тыс.
PHP $_FILES and Handling File Uploads
19:36
Просмотров 6 тыс.
Ten Steps to Mastering the Fetch API
2:19:52
Просмотров 44 тыс.
What the php.ini File Does
9:39
Просмотров 8 тыс.
Why the most expensive phones sell the best
11:36
Просмотров 41 тыс.
PHP on the frontend! No more Javascript!
14:47
Просмотров 121 тыс.
PDO Connections to MySQL from PHP
8:10
Просмотров 11 тыс.
PHP - foreach Loops and Associative Arrays
6:13
Просмотров 18 тыс.
Custom Events Dispatched from Web Components
20:32
Просмотров 1,8 тыс.