I'm trying to implement a user registration/login script in PHP. For example, if you take a look at the site: http://www.roscripts.com/PHP_login_script-143.html The code I have is completely in PHP. My question is, where do I put it relative to my HTML tags (mainly, the title for SEO)? Or should I be doing it differently? Since the PHP script I have has a redirect (header), I'm pretty sure it has to be before the <body>, but what about the <head> and <html>. This may be an easy question, so I simply ask, where do I place my HTML tags relative to my PHP script? Thanks in advance.
You can put php code anywhere in HTML with in <?php ?> For Example: <html> <head> <title> <?php echo "test Title"; /// your code ?> </title> </head> <body> </body> </html>