how to mix html and php? |
@richb201 ,
https://www.php.net/manual/en/language.types.string.php I started using PHP HereDoc strings and it greatly simplifies mixing PHP and HTML. PHP also has NowDoc strings but I very seldom use that syntax. Plain variables are expanded within the HereDoc syntax but arrays and expressions must be enclosed in curly braces without spaces. For example Code: //======================== |
Welcome Guest, Not a member yet? Register Sign In |