...

View Full Version : array



saranya
04-06-2007, 12:31 PM
see i have two tables.technology and category.In technology i have the fields id(auto_increment primary) and name. In category i have id(auto_increment primary),categoryname and categoryid.

In the first table i insert the name and the value of the id is auto_increment.
now am going to insert the categoryname in the category table by using
technology.id=category.categoryid.(the name in the technology table ). how can i use the array .

Fumigator
04-06-2007, 05:47 PM
I don't know what an array has to do with this, but you can use mysql_insert_id() to find out what the auto-increment value was that just got inserted.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum