Current location: Hot Scripts Forums » Programming Languages » PHP » array in mysql

array in mysql

Reply
  #1 (permalink)  
Old 11-22-04, 02:52 AM
lool49 lool49 is offline
Newbie Coder
 
Join Date: Nov 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
array in mysql

Hello!

How can I insert an array in to mysql, I need one entry for each array object.

It looks a bit like this:

$object[1] = "apple";
$object[2] = "banana";
$object[3] = "peach";

$price[1] = "5";
$price[2] = "15";
$price[3] = "7";

OK, now how do I get it into the db???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 11-22-04, 06:07 AM
lool49 lool49 is offline
Newbie Coder
 
Join Date: Nov 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
worked it out.. thanks anyway!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 02:22 AM
Serializing a set of arrays dannyallen PHP 2 10-11-04 03:04 AM
Converting MySQL Row Array Data into Session Data mdaoust PHP 0 09-15-04 03:42 PM
two questions....deleting mysql values and adding array value through forms mlbpa2 PHP 16 03-18-04 09:41 PM
linking to iframe not working :( j0d JavaScript 5 01-19-04 08:14 PM


All times are GMT -5. The time now is 06:46 PM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.