使用数组中的胶水进行内爆

时间:2016-04-23 23:15:35

标签: php arrays pdo

我有什么方法可以转动这个数组

array( 'username' => array('value'=>'value1', 
                           'glue'=>' OR '),
'username' => array('value'=>'value2',
                    'glue'=>' OR ')
);

进入

username='value1' OR username='value2' OR

感谢您的帮助......

1 个答案:

答案 0 :(得分:1)

使用以下代码:

String colorName = new String(); 

//My syntax may be off here but you get the idea
if Color.color.equals(c)
{
    colorName = color;
}

让我知道它有帮助!

相关问题