Voting

: four plus two?
(Example: nine)

The Note You're Voting On

php at cdauth dot de
18 years ago
substr() uses the string length, not the position as third argument. The corrected version of the following code line:
<?php
$parts
[$s] = substr($file_txt, $starting_pos_body, $ending_pos_body-$starting_pos_body);
?>

<< Back to user notes page

To Top