Hướng dẫn reset _post value php
In order to prevent a form from being re-submitted, you could do something like this - it should be pretty self explanatory:
(PHP 4, PHP 5, PHP 7, PHP 8) reset — Set the internal pointer of an array to its first element Descriptionreset(array|object Parametersarray The input array. Return Values Returns the value of the first array element, or Warning This function may return Boolean ExamplesExample #1 reset() example
= array('step one', 'step two', 'step three', 'step four');// by default, the pointer is on the first element Notes
See Also
milo at mdlwebsolutions dot com ¶ 10 years ago
= array(); Bartek Ferek ¶ 6 years ago
Alexandre Koriakine ¶ 16 years ago
Mladen Janjetovic ¶ 9 years ago
leaetherstrip at inbox dot NOSPAMru ¶ 17 years ago
$i,) = each($arr)) arne dot ludwig at posteo dot de ¶ 7 years ago
arne dot slabbinck at duo dot be ¶ 6 years ago
turabgarip at gmail dot com ¶ 1 year ago
= array( m dot lebkowski+php at gmail dot com ¶ 16 years ago
Colin ¶ 16 years ago
gardnerjohng at gmail dot com ¶ 8 years ago
Anonymous ¶ 16 years ago
|