Hello i have a php file called a.php that includes a specific value example : $a = 0; i just want to print this value (a) in a html file called b.html is that possible ? thanks
Sure, you have to open php tag, include php file, echo variable and close php tag For example:
<p><?php include('a.php'); echo $a; ?></p>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With