You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @makhondi ,
Do you want to using 4 spaces for your data? Actually, all data are filtered by espace() method in PDOx. This method provide to remove space chars on the left and right of the value, and also apply quote() method in PDO for sql escaping and XSS blocking.
hi,
Please check the following code:
`
$values = array();
$values['string_text'] = " Hi"; // 4 Space
$string_id = 1;
$PDOx->table( 'strings' )->where( 'string_id', $string_id )->update( $values );
`
After implementation
Field value [string_text] = " Hi" // 1 Space
How to solve this problem?
The text was updated successfully, but these errors were encountered: