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

file_put_contents and createimagefromjpeg
All,
I do somethings and then I have the following code:
file_put_contents('./test/'.$filename

Filtering an Array Based on Value
I have a very simple script set up that pulls data from a database and is output using this code:

url- go to webpage
i have an input text field and submit button.

how do i make the url entered into the textfiel

Pagination
Okay here is the page in question: http://blenderteachings.000a.biz/tutorials.hamishhill.php

Something like an INI editor or a DelimitedText-Editor
Hi all,

Am very, very, very new to PHP and not sure if I should be posting this to a Javascri

array_map() probably obvious mistake
The code below is part of a class to escape strings, but should also accept an array, using array_ma

admin with my register system?
Hey i wana make it so i can make a admin level on my register system , I'm kinda new to php to im no

Multithreading in Oracle (Java, SQLJ, Pro*C,??) on 10g
I am investigating how to run a Java stored procedure in multithread mode.
I know that if I chang

Displaying a record from mysql in a simple swf file
Hi,

I have a mysql database containing information I would like to display in my swf.

Little problem with form insertion in MySQL, Please help!!!
Hi!,

I'm a little bit new with php and I have a little issue here. I created a webform to ins

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