Im trying to create a script that will Factor a Number,
here is what i have so far but i keep getting this error
unexpected T_INC, expecting ')' on Line 5
PHP Code:
<?php
$num = '14' ;
$counter = '1';
function factor($num , $counter++ ){
"$num / $counter++";
}
Factor();
?>
Can any one point me in the right direction with finishing this script???
I think im moving in the right direction.
~Snapple