[PHP-DB] two inserts at once?

2003-01-09 Thread Michael Knauf/Niles
This Code Snippet works: $newfaq_query = INSERT INTO `faq` (`faqid`, `question`, `answer`) VALUES ('', '$question', '$answer'); $newfeaturesResult = mysql_query($newfeatures_query); But I'd like to combine that query with this one: INSERT INTO `faqRelatedToProduct` (`id`, `fgNumber`, `faqId`)

Re: [PHP-DB] two inserts at once?

2003-01-09 Thread Ignatius Reilly
] Sent: Thursday, January 09, 2003 6:04 PM Subject: [PHP-DB] two inserts at once? This Code Snippet works: $newfaq_query = INSERT INTO `faq` (`faqid`, `question`, `answer`) VALUES ('', '$question', '$answer'); $newfeaturesResult = mysql_query($newfeatures_query); But I'd like to combine

Re: [PHP-DB] two inserts at once?

2003-01-09 Thread Jason Wong
On Friday 10 January 2003 01:04, Michael Knauf/Niles wrote: This Code Snippet works: $newfaq_query = INSERT INTO `faq` (`faqid`, `question`, `answer`) VALUES ('', '$question', '$answer'); $newfeaturesResult = mysql_query($newfeatures_query); But I'd like to combine that query with this

Re: [PHP-DB] two inserts at once?

2003-01-09 Thread Michael Knauf/Niles
] biz cc: Subject: Re: [PHP-DB] two inserts at once