Jump to content

Multidimensional array with interaction of colors


Yuri

Recommended Posts

Hi I`m getting trouble in this sample.post-166333-0-85278700-1384163533_thumb.jpg

 

 

I would like to create a database where the field Process A, Process B, Process C, Process D, Process E, ​​I have the option of a color box with two options of colors (red and green). The choice of this color in each case would be sent to the database.

For GID fields, Description, ID, Dimensions values ​​are already brought from excel table to mysql. I would like to show the table after with this results. Need help!thank you all! 

 

Hi I`m getting trouble in this sample.attachicon.gifUntitled.jpg
 
 
I would like to create a database where the field Process A, Process B, Process C, Process D, Process E, ​​I have the option of a color box with two options of colors (red and green). The choice of this color in each case would be sent to the database.
For GID fields, Description, ID, Dimensions values ​​are already brought from excel table to mysql. I would like to show the table after with this results. Need help!thank you all! 

 

 

You could use the serialize and unserialize functions

 

So you have example

$ProcessA =
            [0] = 'Green';
            [1] = 'Red';

serialize($ProcessA) then insert into the database.

 

Once serialized it wont be very readable looking directly at the table from phpmyadmin or other DB GUI's

But then you would unserialize it and do whatever with...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.