php - Limiting the display of password_hash -
php - Limiting the display of password_hash -
i displaying password using password_hash function , since it's long, causes contents overflow in table. know have utilize substr can't right. here's code:
<?php echo password_hash('$row->password', password_default). "\n";?>
substr(string, start_position, end_position) <?php echo substr(password_hash('$row->password', password_default), 0, 50). "\n";?>
php
Comments
Post a Comment