|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hello.
I have an HTML form with multiple options that I would like to input into a MySQL database as a SET. When the form is submitted, the data is sent as Variable=1&Variable=2&Variable=3, etc, while MySQL appears to want it submitted as Variable=1,2,3. Is there a way to make this work? Thank you! |
|
#2
|
|||
|
|||
|
$newvariable="$variable1,$variable2,$variable3";
If you are unsure how many will be in the original set you'd have to concatenate dynamically. |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Inputing multiple form options in SET |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|