User Profile
Collapse
-
Ok, but if the var email is in a external php file, what should I do? -
How to include PHP file in HTML
I'm trying to make a HTML page read a external PHP file with a variable:
File:
HTML:Code:<?php $email = "test@test.com" ?>
...Code:<html> <head> </head> <body> <?php include ( "File1.php" ); ?> The e-mail in the file is: <?php echo $_POST [ 'email' ] ?> </body> </html>
-
-
Submit a form and check if user checked radio button
Hello guys, I'm want to check if the user accept my terms and conditions, I tried ASP but I failed.
Can you help me?
...Code:<form action="processform.asp" method="post"> <label class="radio"> <input type="radio" name="optionterm" id="termradio1" value="accept"> I read and I accept it.
No activity results to display
Show More
Leave a comment: