turning an array into a string then poping it into a db


Posted on 16th Feb 2014 07:03 pm by admin

Hi im just wondering how you get a requested array into a single string then pop it into the db so far i got
print_r($_REQUEST['choice_name']);

whch echos

Array ( => Colour=Blue [1] => Size=8 [2] => Neck Line=V )
I need it to look ready to enter into a db in a single field like this

Colour=Blue Size=8 Neck Line=V

Any ideas

No comments posted yet

Your Answer:

Login to answer
337 Like 53 Dislike
Previous forums Next forums
Other forums

do while...woes
I'm sure this is childsplay but it is stumping me, everytime i try what I think would make this work

Adding to an Int row in db
Hi, i have a database which houses all of the users of my site. One of the columns is for points whi

Inserting multiple records from single form
I've found a number of threads that deal with this issue, but I'm new to php and coding language so

Add_Months not Easy to Understand
Oracle is number 1, very fast and very easy. But....
OK, I think but have a problem, only 1 pro

Get dump of MySQL DB from Live Site
I'm after an easy, but secure way of generating and importing a MySQL dump from a remote server.

Career Change into SAP
Hai
I am sajesh ,did my diploma in Mechatronics i have a 4 years of experience in

Buggy registration system
Hey, I just started scripting in PHP, and I ran into a few problems.
Code: <?php
includ

Libraries in C++
Hi all,

I have two libraries. one is based targeted on linux platform and uses another li

Escape Latin Characters
I need to escape latin characters in an xml doc. Example: "é" is escaped to "é". I thoug

reating a background image
I am building a site in drupal and have a php form in it, due to certain annoyances with module buil

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash