Posted by Ashok on 11/08/52 11:17
Hi ,
I have 6 cells in a table. I want data to be inserted only in 1 cell when
inserting a new row. The data will be user name from session id. I want to
show the cell name as radio group or drop down menu.
This is because the user enters the new row.
But I can't think of how to make mysql insert statement so that it inserts
user name in one cell and null for other 5.
May be
if (this)
//do this type of INSERT
elseif (this)
//do this type of insert INSERT
Thats what I can think of.
But I have never done it for radio group.
Any lights on this please?
Ashok.
[Back to original message]
|