SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jan 2005
    Location
    Ventspils
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy URGENT!! How to insert values into two tables from one form??

    Please help!How to insert values into two tables from php form with one submit. Is it also possible to put in this form also files uploading function, and then with one submit, values goes to two tables + upload files???

  2. #2
    SitePoint Addict pentium10's Avatar
    Join Date
    Apr 2004
    Location
    Transilvania
    Posts
    208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You cannot insert with 1(one) query in two tables!
    You have to make 2 (two) mysql_query() !

    And the PHP question is for PHP Forum! But the answer is YES!
    Rype :: book, do, charge, collect,
    track time, track expenses and invoice easily on the go.
    Available on Mac, Win, iPhone, WinMobile.
    http://www.rypenow.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •