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

Email Form Syantax Issue 2
How to make this look FROM:"OUR TEAM" instead of FROM:abc@mail.com

$headers = "

Do something every fifth time?
I'm trying to write a loop, but I want it to do something different after every fifth instance. Like

Server side $_SESSION
how does one keep the session completely server side. no cookies to the browser at all. i need this

Form errors in an array
I'm processing a form and putting the errors in an array. empty($errors) doesn't seem to do the tric

Help: calling function
Hi,
Is it possible to call a php function on page close?
If yes, could you explain how and whe

problem with php mysql query
Hi guy's...

I'm totally lost here..because don't have any idea how to make a query for grab r

Install page
How do I make it so when a user submits information on the Install page, it'll right it into the cor

form problem
Hi all, I think this is going to be easy to resolve but for I have been looking at it to long and I

array & querys help/advice.
Ok so here goes , I have a mysql database and basically here's what I need to do.

// foreach

RadioButtonList data selection
view plaincopy to clipboardprint?

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