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

Gerenate tabel in Php
I whant to generate a tabel takeing data from database like this one so the results to be display on

mysq_num_rows
Hi,

I want to use:

Code: if(mysql_num_rows($ergebnis2)==2)
how can the value 2, be

How to get all server headers like Live http Headers does
Hey all, like many of you I use the Firefox addon "Live http Headers". I'm trying to write

echo $rows help
Hi all,

Hopefully something simple that I don't know!

I have this:

Code: [Selec

re calling a function without including file
Hi,
i am new to programming in php, i was just checking the wordpress code and found out in the w

problem with php server update from mid 2009
Hi,

I have this navigation menu on 2 websites which used to work just fine. After a recent up

PHP form help required
Hi all! Apologies in advance for having to message the forum for help. I know you must get a lot of

Get Total From While Loop
I'm trying to get the total for each product and add them for a Grand Total to list outside the loop

Change Web page language
i doing this thing first time but i dont find any suitable solution for it. On the demand of user. I

CHECH A STRING FOR ' " ' (DOUBLE QUOTES)
I am checking for delimiter (.!?) and if there is a " after a sentence then it should neglect a

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