On Mon, Feb 25, 2008 at 8:15 PM, Nasreen Laghari <nasreen_laghari@xxxxxxxxx> wrote: > Hi, > > I need help to insert date into two tables when tables have primary and foreign key relationship using php. I tried simple INSERT query but foreign key colum is storing NULL. What's your SQL query string, Nasreen? -- </Dan> Daniel P. Brown Senior Unix Geek <? while(1) { $me = $mind--; sleep(86400); } ?> -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php