November 16th, 2013, 02:08 PM
Php in Html
Sir I have following codes
$aa = $_POST['text1'];
echo ("My name is " . $aa);
<form name="aa" action="mix.php" method="POST">
Name<input type="text" name="text1" value="">
<input type="submit" value="display" name="button1">
These codes have no error message.
I am beginner so I request you to please check whether I am doing right.
Is it possible to use php codes in <html> tag?
if yes then please adjust my php code in html tag.
Thanks in advance
November 16th, 2013, 02:25 PM
November 16th, 2013, 02:38 PM
Is cross posting a sin?
A beginner wants to get differnet solutions by different people because everyone has different code writing style.
November 16th, 2013, 03:03 PM
When you have a problem in your person life, do you ask 5 friends at the same time so that you can choose the help you like best? If you did that, they probably wouldn't be your friends for long.
I understand that the Internet may feel like a gigantic "immediate help for free" service. So why not post the same questions into x forums like the spammers do it? Because the answers you get are from actual people who invest their time into helping you. If you don't value that, don't expect to get help in the future.