How do I open a new PHP page with posted data from a javascript file

I have updated my form:

<form method = "post" name= "account" action= "validated.php" target="_blank">
...
<submit value= "submit" onclick= "validate()" >Submit</submit>

It validates correctly from the validate.js file but still does not open a new page for validated.php

In validated.php just to start:

<p>Welcome <?php echo $_GET["fname"]; ?><br>
Your email address is: <?php echo $_GET["email"]; ?> and your birthday is: <?php echo $_GET["bdate"]; ?>
</p>

I think the issue is in the html. Any ideas?

24 thoughts on “How do I open a new PHP page with posted data from a javascript file”

  1. Hi there, I discovered your web site by the use of Google while searching for a related topic, your
    web site got here up, it seems great. I have bookmarked it in my
    google bookmarks.
    Hello there, just was alert to your blog thru Google, and
    located that it’s truly informative. I’m gonna watch
    out for brussels. I’ll appreciate should you proceed this in future.
    Numerous other folks can be benefited out of your writing.

    Cheers! http://antiibioticsland.com/Zithromax.htm

    Reply

Leave a Comment