how to delete all things in an array php code example
Example 1: php unset array key
unset($dataArray['key']);
Example 2: remove array values php
array_splice(array, start, length, array)
unset($dataArray['key']);
array_splice(array, start, length, array)