hdshngout
08-21-2005, 10:01 PM
ok, heres probably a dumb question, but can you use if..else statements in a query to insert data into a mysql database? if so how do you do it. Like say i have a set of radio buttons and if yes is selected, it will insert a code, and if no is selected, it will insert different data.
also i have a set of drop down boxes and textareas. i want to make it so if a value is selected from the drop down it takes the data from that, and if its blank, it takes the data from the textbox.
please help. :)
Nick
also i have a set of drop down boxes and textareas. i want to make it so if a value is selected from the drop down it takes the data from that, and if its blank, it takes the data from the textbox.
please help. :)
Nick