beginning PHP problem



Hello,
I'm just starting programing in PHP and have a problem.
When I executing this script php always returning me for input text.
Why?
Thx for any help.
<?
if (isset($submit) &&submit=="yes") {
echo "thank you very much.";
} else {
?>
<form action=proba3.php action=post>
<input type=text name=email>
<input type=text name=first_name>
<input type=submit name=submit value=yes>
</form>
<?php
}
?>


.



Relevant Pages

  • Re: [PHP-WIN] Include Question!
    ... On 9 May 2008, at 20:49, Matthew Gonzales wrote: ... echo "I AM IN PAGE.PHP!"; ... That's not quite right and I think it's important to understand exactly what PHP does here. ... Once that file's done PHP returns to executing the original file from the statement after the include. ...
    (php.general)
  • Re: OT but: How to let Perl know of a library location
    ... MySQL 5, and PHP 5. ... configures loads of perl modules from CPAN. ... 12, referer: http://lmgkoha:8080/cgi-bin/koha/acqui.simple/addbiblio.pl ... executing ldd on the executable. ...
    (comp.unix.solaris)
  • Re: command-line php displays code instead of executing code
    ... instead of executing my script, it's actually displaying the raw code ... >>> install.php is indeed surrounded with PHP tags, ... >> But since you haven't posted the script or anything else about your ...
    (comp.lang.php)
  • Re: OT but: How to let Perl know of a library location
    ... MySQL 5, and PHP 5. ... configures loads of perl modules from CPAN. ... 12, referer: http://lmgkoha:8080/cgi-bin/koha/acqui.simple/addbiblio.pl ... you can check which libraries are linked against an executable by executing ldd on the executable. ...
    (comp.unix.solaris)
  • Re: php generate HTML, but being called by javascript
    ... MagpieRSS to parse out my XML file and I would like to have my php file ... Javascript is executed on the client, ... By the time your javascript starts executing, all of your PHP code has been executed. ...
    (comp.lang.php)