Ruhi Garga Posted June 28, 2012 Share Posted June 28, 2012 HI, I am also getting an error in this query. as Unknown cloumn 'NEC' in 'field list'. As i have this column in table $death_query = mysql_query("Insert into infant_death1(BabyId,Postmortam,death_reason1,death_reason2,death_reason3,death_reason4,Congenital_Anomaly,Respiratory_failure,NEC,Infection,Brain_injury) values('$baby_id','$postcode','$dc1','$dc2','$dc3','$dc4','$dr1','$dr2','$dr3','$dr4','$dr5')"); Quote Link to comment https://forums.phpfreaks.com/topic/264937-unknown-column-in-field-list/ Share on other sites More sharing options...
PFMaBiSmAd Posted June 28, 2012 Share Posted June 28, 2012 I split your post into its own thread. Please start new threads for your problems so that they will be replied to correctly and you can find them as topics under your username. Please post your table definition, since the error is indicating that table doesn't have a column by that name. Quote Link to comment https://forums.phpfreaks.com/topic/264937-unknown-column-in-field-list/#findComment-1357688 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.