hello,
i would like to ask how to declare a value that read from a .txt file to become an int so that i can use it in my next function.
ex:
this is how i read from a file.
$fp = fopen( "file.txt" , 'r' );
$str = fread( $fp , filesize( "file.txt" ) );
$fp = fclose( $fp );
how to delare the item i read from it become an INT?
INT $ABC = $str ????
thank you.