+ 1

How to link html page with php in this solo learn code playground editor.

My php code is : <?php $a=$_POST['nField']; if($a%2==0) echo "number is even "; else echo " number is odd"; ?>

28th Aug 2018, 5:51 PM
Praveen Soni
Praveen Soni - avatar
1 Answer
+ 1
You can just put your HTML alongside the PHP, because PHP can output HTML.
28th Aug 2018, 6:10 PM
Ulisses Cruz
Ulisses Cruz - avatar