Lets see if I can explain this. I am able to load elements of a form into a flat file- such as Name, Address, Phone# etc..... Then I load these into a multidimentional array- say $hold, which looks something like this
$hold[1] => array([0]=>1, [1]=>Frank,[2]=>123 St,[3]=>555-5555)
$hold[2] => array([0]=>2, [1]=>Kelly, [2]=>111 St,[3]=>111-1111)
$hold[3] => array([0]=>3, [1]=>Suzie,[2]=>333 St,[3]=>222-2222)
*the element $hold[1][0] = 1 is simply a way to count records which also corresponds to the exact $hold array so that I can edit elements as seen in the table
I then load these into a table.
I can successfully change any specific element but I cannot figure out how to delete say $hold[2].
Any suggestions?
Andy
$hold[1] => array([0]=>1, [1]=>Frank,[2]=>123 St,[3]=>555-5555)
$hold[2] => array([0]=>2, [1]=>Kelly, [2]=>111 St,[3]=>111-1111)
$hold[3] => array([0]=>3, [1]=>Suzie,[2]=>333 St,[3]=>222-2222)
*the element $hold[1][0] = 1 is simply a way to count records which also corresponds to the exact $hold array so that I can edit elements as seen in the table
I then load these into a table.
I can successfully change any specific element but I cannot figure out how to delete say $hold[2].
Any suggestions?
Andy
Comment