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

Seperate team from score
I am writing a site that does a NFL Pick 'em type application and I have a feed that gives me the sc

http to https
Hi,

Is there any specific method/condition to move an http:// page to https:// ?

Date help - fetch dates for Mondays between xxx and yyy?
Does anyone know the best way to do this? I have two dates, say:

2010-01-26 and 2010-05-30

passing data from one page to another
hey guys
i have the follwoing code to get information from one page and place on another:

using file_get_contents??
okay how would i create a script using file_get_contents() in php have it grab search pages 1-20 and

Can I call a class inside a function?
I have a class written in another file that handles my image resizing.

Can I do this (php say

scandir clients directory
hi,
how can i scandir the clients directory? i need a script that when i click a button it will u

array_count_values question?
ok i'm trying to create a top ten list from a database of listed favorite movies.

the followi

Page doesn't expand for content
Hi. I've been testing a query I made. It's here http://lapr1.6te.net/inquerito.php
The page doesn

ASP.NET Validation Event Cycle
Hi,
I have asp button as follow:

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