Board index   FAQ   Search  
Register  Login
Board index php forum :: Database phpMyAdmin

simple question

How to use phpmyadmin.... phpmyadmin related arguments. Even phpMyAdmin issues

Moderators: macek, egami, gesf

simple question

Postby abdbad2015 » Sun Apr 27, 2014 8:18 am

Hi , I'm newbie in php&mysql
when i specify column 'age' and column 'address' [Not Null] and I don't insert value for age and address , msg shows "Warning: #1366 Incorrect integer value: '' for column 'Age' at row 1" , why doesn't msg show for column 'address' also ?
abdbad2015
New php-forum User
New php-forum User
 
Posts: 3
Joined: Sun Apr 27, 2014 7:49 am

Re: simple question

Postby seandisanti » Sun Apr 27, 2014 12:04 pm

There may be a default value specified for the address column, an empty string perhaps.
seandisanti
php-forum Fan User
php-forum Fan User
 
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm

Re: simple question

Postby abdbad2015 » Thu May 01, 2014 8:09 am

seandisanti wrote:There may be a default value specified for the address column, an empty string perhaps.

NO , I don't specify default value for the address column
abdbad2015
New php-forum User
New php-forum User
 
Posts: 3
Joined: Sun Apr 27, 2014 7:49 am

Re: simple question

Postby seandisanti » Thu May 01, 2014 11:24 pm

Without seeing code, any response is just going to be speculation. That said; I'd guess that you're using a function to return the error info, and it's just returning last error instead of each error.
seandisanti
php-forum Fan User
php-forum Fan User
 
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm


Return to phpMyAdmin

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.