+ 1
is it necessary seperating html and php code
which one is more recommended? option 1: <?php?> <html></html> option 2: <html><form action="form.php></form></php>
1 ответ
+ 1
Both. But I like the first one. I always leave the action attr empty.
which one is more recommended? option 1: <?php?> <html></html> option 2: <html><form action="form.php></form></php>