Yuri Posted November 11, 2013 Share Posted November 11, 2013 Hi I`m getting trouble in this sample. 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 https://forums.phpfreaks.com/topic/283791-multidimensional-array-with-interaction-of-colors/ Share on other sites More sharing options...
Ch0cu3r Posted November 11, 2013 Share Posted November 11, 2013 Your question is not very clear. Can you please explain your question more clearly. Link to comment https://forums.phpfreaks.com/topic/283791-multidimensional-array-with-interaction-of-colors/#findComment-1457843 Share on other sites More sharing options...
RuleBritannia Posted November 11, 2013 Share Posted November 11, 2013 Hi I`m getting trouble in this sample.Untitled.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 https://forums.phpfreaks.com/topic/283791-multidimensional-array-with-interaction-of-colors/#findComment-1457867 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.