Forum Moderators: coopster
You may find the Basic Syntax [us3.php.net] documentation helpful.
Good luck!
PHP is a programming language. With PHP you can access a database, make decisions (programming logic), and even display HTML markup.
Here's a little sample. First is a very simple HTML document.
sample.html
<html>
<body>
this is text on the web page
</body>
</html>
Great! But I want it to be a php page. No problem, here's the same page as you might write it with PHP.
sample.php
<?php
echo "<html>
<body>
this is text on the web page
</body>
</html>";
?>
The difference is that you are using the echo function of PHP to display your HTML markup. If you were to view the source for that page (from your browser) you would not be able to see the actual PHP code, only the echoed markup.
I know that doesn't really help you add a video to your page. With regards to that, you should be able to insert yout code via DW and have it work. If you're manually editing the page, you just need to make sure that you are echoing or printing your HTML.