#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Vancouver, BC, Canada
    Posts
    5
    Rep Power
    0
    action="action.php" method="POST">
    Your name: <input type=text name=name>
    You age: <input type=text name=age>
    <input type=submit>

    Here is a simple form that sends to action.php

    How can I make this form send to more than one php or html file?

    ------------------
    Great PHP Link site here
    http://www.oingo.com/topic/11/11833.html
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Location
    Redmond, WA
    Posts
    218
    Rep Power
    15
    stuff the filenames into an array and run a loop that repeats the procedure for each file.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Vancouver, BC, Canada
    Posts
    5
    Rep Power
    0
    mmmm.....I'm new at this stuff...I'm well learned at hardcore HTML..but sorry you lost me...

    ------------------
    Great PHP Link site here
    http://www.oingo.com/topic/11/11833.html
  6. #4
  7. No Profile Picture
    a total freak
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    33
    Rep Power
    15
    this is tricky..

    do you need to process those forms on each file your about to send or just pass information to several files?

    you may need to use a little javascript, i think, coz i haven't found any php function which explicitly send forms for several files..
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Vancouver, BC, Canada
    Posts
    5
    Rep Power
    0
    I just pass information to several files.

    ...

Similar Threads

  1. sending email + multiple attachments using php
    By gbow in forum PHP Development
    Replies: 6
    Last Post: February 13th, 2004, 10:31 AM
  2. Building html forms with xml and xsl
    By hellbrand in forum XML Programming
    Replies: 1
    Last Post: February 7th, 2004, 01:04 AM
  3. Can php be used in html files
    By emzyme in forum PHP Development
    Replies: 3
    Last Post: January 29th, 2004, 02:50 PM
  4. all-in-one php script displaying html
    By emzyme in forum PHP Development
    Replies: 5
    Last Post: January 27th, 2004, 08:07 AM
  5. php n00b. Put a php file into an html template?
    By WorldBuilder in forum PHP Development
    Replies: 3
    Last Post: January 25th, 2004, 09:48 PM

IMN logo majestic logo threadwatch logo seochat tools logo