0

I would like to insert this type array into database please give suggestion how to do it: product code, color etc are the column names

$array = 
  array(
     'Product Code': A0857
     'Color: ': Green
     'Quantity' : 23
     )

array(
     'Product Code': A0857
     'Color: ': Green
     'Quantity' : 23
     )

);
5
  • add more desciption and sample data with expected result that you want Commented Jan 6, 2017 at 8:24
  • 1
    What have you tried? What have you researched? Have you read How to Ask? Commented Jan 6, 2017 at 8:28
  • Did a quick Google search, some results to try: 1, 2,3,4 Commented Jan 6, 2017 at 8:30
  • I search but not found any solution Commented Jan 6, 2017 at 9:27
  • what are column names of tables. Commented Jan 6, 2017 at 9:30

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.