What does this means in php?

Colly

New member
so i have this piece of php code done but there a part of it i dont understand. here it is
$ctr++;
echo "Sequence found! Total count: " . $ctr . "<br/>";

what is the $ctr++ and what does it do..........is it really needed? can it be changed to something else??
i should have said the reason i asked is that i keep getting this when i run the php

Notice: Undefined variable: ctr in C:\xampp\htdocs\abc.php on line 23

but $ctr++ is line 23
 
Back
Top