+ 1
How do I link HTML code with PHP?
I don’t know how to link the HTML hide with the php code. Can anyone help me?
3 odpowiedzi
+ 9
<script language="php">
echo "Hello World!";
However, in modern browsers it is recommended to use the:
<?php
?>
Inside the <body> tag.
However you're welcomed to use the shorthand:
<?
?>
As long as it's supported by the browser.
I'll prefer you complete the php course before posting so as to get familiar with the language.
+ 2
If you want it really separated use ajax
+ 1
thanks a lot !