RE: insert data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I'm having trouble creating an insert form...the problem is that I
> don't have only one table, but 5 or 6...so I should insert in  ex.
> $table where $ID.
> also the form needs dynamically generate in relation to the table I
> choose...I mean it depends on how many column a table has that the
form
> has the correspondent number of field...the Id and created are auto(so
> no field).

Each database has a way to get the auto created number. With MySQL, it's
mysql_insert_id().

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux