I am new to php, html and javaScript.. I still do not understand the connection between the three. SO this may sound silly.
I know that php is a server side language. But that fact is not very clear to me since we can use php code inside html..
So my question is if i wrote the following, where does the part runs on?? does that piece of code is sent to the client browser and execute it at client side? or execute on the server side and upload the result to the client side?
<!DOCTYPE html>
<html>
<body>
<?php
echo "My first PHP script!";
?>
</body>
</html>