Jump to content

hardikspider123

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by hardikspider123

  1. I have situation like this $key=array($_post['abc']); $all=array(); foreach ($key as $row) { $all=explode(",",$row); } result is 0=>1 1=>'xyz' 2=>'04/04/2015' ...... I want to assign index as field name for each index result should be like this id=>1 name=>'xyz' date=>'06/04/2015' .... and it should assign this field name for each index Please let me know Thanks in advance
×
×
  • 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.