PHP Code Syntax - How To Embed PHP in HTML

preview_player
Показать описание
In this video I go over PHP Code Syntax and How to embed PHP in an HTML file. I also show you how to use PHP as a standalone file without any HTML.

Learning the basics of PHP Code Syntax is important since you can prevent a lot of mistakes in your code by following some of the basic rules of PHP.

Check out this Full Stack Developer Video:

See What's On My Desk:

I cover how white space is handled with PHP along with how case sensitivity works along with file naming conventions for PHP.

I also share with you various code snippets as examples to help walk you through the process.

Support the channel by using some of my services, offerings and affiliate links below.

YouTube Store

Domain Name & Hosting

Music from Epidemic

TubeBuddy Affiliate Link

My Patreon Page

Learn WordPress Theme Development

By using the links above, I might make a few dollars which helps me to dedicate time creating content. I appreciate your support.

Find me on Instagram:

Find me on Twitter:

Find me on Facebook:

#php #code #webdevelopment
Рекомендации по теме
Комментарии
Автор

ive realized how youtube and people like u have revolutionized the education like one can learn anything all because u wan to provide them with this fre eknowledge thank you i hope ill be one dayy too will be capable to mke such vedios on my niche and can provie free education

sparrowp
Автор

incredible tutorial series so far. thanks for stream lining this knowledge for people like me

ChuBmusic
Автор

Just had a quick question with regard to HTML and PHP's relationship:

Say I have some HTML I want to use on multiple pages (ie: a nav that appears at the top of every page) and don't want to write it/copy and paste
it for every page. What is the best way to abstract that code so I don't repeat myself? My current solution is to make all my pages php files. This way,
I can have a dedicated 'nav.php' file that I just insert into the pages where necessary, for example, by going:

<?php include 'nav.php';?>

I feel this is a lot of mucking around. If there's a better way, would appreciate some insight. Cheers

willastralian
Автор

man thank you so much you inspired me to get into this thanks a lot

snoussiwassim
Автор

Tutorial is so simple, I thought I would learn something new. You could use example like dealing with tables, forms and css with PHP, and how to format it together with PHP.

exogendesign
Автор

Whoa!
As a non-coder may I ask how you would go about this: I have a search form and want to hide specific form fields for users based on their normal Wordpress user role?

stefanpfadt
join shbcf.ru