checkbox[] array into mysql... OUT?

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.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Mar 13th, 2008, 20:07
Junior Member
Join Date: Mar 2006
Location: usa
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Mar 13th, 2008, 20:37
CloudedVision's Avatar
Moderator
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 1,248
Blog Entries: 9
Thanks: 2
Thanked 40 Times in 40 Posts
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.
__________________
Web Design And Development: Other Road Design | Problems with IE6?: KApp | My Blog: Only Nerds Allowed | Learning PHP? Lessons
Last Blog Entry: Hilarious Rapper (Jul 29th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 04:10.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42