This is a discussion on "checkbox[] array into mysql... OUT?" within the PHP Forum section. This forum, and the thread "checkbox[] array into mysql... OUT? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
checkbox[] array into mysql... OUT?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
checkbox[] array into mysql... OUT?
I have a multi checkbox entry that I want to place into a mysql database.
I then need to pull the array data out of the db and display into a <select> box. I know this is easy, but have not found the way to accomplish the task. I have tried numerous ideas I have found from the web, but nothing works - most of the timem I get "Array" displayed I have tried searilize() but just get s:5:"Array" Any help would be appreciated... David |
|
|
|
||||
|
Re: checkbox[] array into mysql... OUT?
"Array" means that your trying to display an array as a string.
Can't really help you from the information given, maybe some snippets of code. And a tip: print_r and var_dump are great for debugging arrays.
__________________
echo "Take it easy, ".$CloudedVision; .links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; } <quote>"I think it's wrong that only one company makes the game Monopoly" - <name>Steven Wright</name></quote>
Last Blog Entry: More Cheat Sheets (Jul 12th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] ASP-MySQL Delete By Checkbox | Monie | Classic ASP | 1 | Nov 10th, 2007 01:51 |
| Very confusing mySQL array | alexgeek | PHP Forum | 10 | Oct 8th, 2007 17:29 |
| Validatwe multiple checkbox with array [] | Mochachino | JavaScript Forum | 0 | May 5th, 2007 04:44 |
| Uploading form-generated array to MySQL | masonbarge | PHP Forum | 1 | Jul 15th, 2006 17:46 |
| Is anybody tell me how to iterate <asp:Checkbox> array loop. | frmsasp | ASP.NET Forum | 0 | Oct 8th, 2005 04:07 |