Ask a Question related to Dreamweaver AppDev, Design and Development.
-
jip #1
Can one <form> submit data to multiple tables?
Am I able to use a single form to write data to multiple tables in my database using php/mySQL?
jip Guest
-
Submit Form Data Application?
I thought I saw an software extension that allowed form submission in Dreamweaver for us designers who can't figure out all the technical stuff. By... -
Multiple tables for same data - how to sort
Hi We are developing an application that stores logging data in a mysql database. Due to some facts, we decided to store the loggingdata in a... -
update multiple records in multiple tables from one form
hello I have been trying to run multiple update queries based on the data entered by user. Brief background: I am fetching data from various... -
How do you delete a record form multiple tables
I have a dbase that has about 30 tables in it. How can I delete a record out of all of the tables without doing 30 DELETE statements? Example:... -
ASP form writing to multiple DB tables.
I'm new to Access and ASP pages, but so far I have been doing OK. This one has me stumped. What I am trying to do is have an ASP form with several... -
Michael Fesser #2
Re: Can one <form> submit data to multiple tables?
.oO(jip)
Sure. You can do whatever you want with the submitted data in the form>Am I able to use a single form to write data to multiple tables in my
>database using php/mySQL?
processing script, there are no restrictions of any kind.
Micha
Michael Fesser Guest
-
visuality #3
Re: Can one <form> submit data to multiple tables?
You'll need to write more than one query, but once you capture the POST data to
your script you can use it as often as you like. You mean something like
this?...You could also establish multiple DB connectionsCode:/* get post data from form */ $foo = $_POST['bar']; /* insert it */ $query1 = 'INSERT INTO table1 VALUES ($foo)'; mysql_query($query1); /* insert it again elsewhere */ $query2 = 'INSERT INTO table2 VALUES ($foo)'; mysql_query($query2);
to use the data in queries to different DBs.
visuality Guest
-



Reply With Quote

