I want my variable $code to be incremented by 1 everytime, the php script is called. This is my code:
script.php:
<?php
$code = "05000"; /*On first run, the $code will be "05000",
then on second run it will be "05001" and so on and so forth*/
?>
Or in other words, I want my $code to give a unique value (which should be self incrementing) everytime, the script is called. How can I do that?