Probably the problem is with your column length, from the manual:
it is recommended to store the result in a database column that can expand beyond 60 characters (255 characters would be a good choice). link
More Related Contents:
- A list of php error [closed]
- Using PHP 5.5’s password_hash and password_verify function
- How to retract a salted password from the Database and auth user?
- How to best store user information and user login and password
- Using if(isset($_POST[‘submit’])) to not display echo when script is open is not working
- a better approach than storing mysql password in plain text in config file?
- How to log in to phpMyAdmin with WAMP, what is the username and password?
- Strange problem with the length of the field gotten from database [duplicate]
- how to write php code for the key press enter button when fill the form?
- Create hyperlink from html table row to open record on a new page
- mysql_fetch_array(): supplied argument is not a valid MySQL result resource [duplicate]
- I don’t know what’s wrong with my code. I’m a newbie. The prob is – Notice: Undefined variable: result [duplicate]
- How to run deprecated php codes on the latest XAMPP [duplicate]
- Is closing the mysql connection important?
- selecting unique values from a column
- Shortcomings of mysql_real_escape_string?
- Can I use a PDO prepared statement to bind an identifier (a table or field name) or a syntax keyword?
- PHP PDO – Num Rows
- Post and get at the same time in php
- Request Entity Too Large PHP
- Setting up Laravel on a Mac php artisan migrate error: No such file or directory [duplicate]
- ini_set, set_time_limit, (max_execution_time) – not working
- What is the best way to insert multiple rows in PHP PDO MYSQL?
- How do I set the selected item in a drop down box
- Fatal error: Call to undefined function mysqli_result()
- access denied for user @ ‘localhost’ to database ” [closed]
- PHP $_POST not working? [duplicate]
- How can I employ “if exists” for creating or dropping an index in MySQL?
- PHP MySQL pagination with random ordering
- MYSQL select a piece of a string and order by that piece