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

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -