Help me in this array
Posted: Tue Jul 06, 2010 1:29 am
$test[]='Products';
$test['Prodcuts']=array('Dell','Acer','HP');
hi to all,
i want to insert ' $test ' into mysql using php, its input will be received by form and will be stored into table.
now this is working with " print_r " and its output is as bellow....
print_r($test);
Array ( [0] => Products [Prodcuts] => Array ( [0] => Dell [1] => Acer [2] => HP ) )
now please guide me how can i insert it into table as single varible and how can i fetch it and use its values into nevigation like...
Products
.Dell
.Acer
.HP
thanks in advance.
$test['Prodcuts']=array('Dell','Acer','HP');
hi to all,
i want to insert ' $test ' into mysql using php, its input will be received by form and will be stored into table.
now this is working with " print_r " and its output is as bellow....
print_r($test);
Array ( [0] => Products [Prodcuts] => Array ( [0] => Dell [1] => Acer [2] => HP ) )
now please guide me how can i insert it into table as single varible and how can i fetch it and use its values into nevigation like...
Products
.Dell
.Acer
.HP
thanks in advance.