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! 

Link to comment
Share on other sites

 

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...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.