MySQL Forums
Forum List  »  PHP

Re: Output .php script on HTML page?
Posted by: Peter Brawley
Date: July 05, 2018 02:55PM

Code is text so videos aren't much use with it, and IAC the possibility of spam & viruses make links of unknown provenance too risky to click on.

You need a web server running Apache or equivalent, supporting PHP. Now in the web documents folder, usually public_html on a Linus system, or in one of its subfolders, create a text file that has this structure ...

<html>
<head>
...
</head>
<body>
... html code ...
<?php
... php code ...
?>
</body>
</html>

You'll need to read about how web servers work, and about the PHP language, then you'll need to work through some PHP/MySQL tutorials.

Options: ReplyQuote


Subject
Written By
Posted
Re: Output .php script on HTML page?
July 05, 2018 02:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.