You are here: Three queries. One Form. « PHP « IT news, forums, messages
Three queries. One Form.

Posted by jack jackson on 10/14/35 11:18

Hi,
I am trying to make one form on a single page insert info into three
tables; query 1 creates an art_id (auto-increment) for the newly
created row in table art;

query2 creates a media_id in table media.

Then I need to get the art_id and media_id created by the first two
queries to insert into an intersection table as query three.

Must I run an intermediate query to get the ids, and assign it to
vars? What would it even look like?

Thanks in advance,

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация