Jump to content

php help stuck


stuckwithcode

Recommended Posts

Hello,

 

I have a mysql table and when I populate it through php i have to insert blank values into fields if not it will not work.  How can I put the default value in phpmyadmin to be blank, but not null.  I dont understand the null checkbox or the default value option.  Please help not phpmyadmin guides found

Link to comment
https://forums.phpfreaks.com/topic/215321-php-help-stuck/
Share on other sites

Hi

 

The null check box is to set the column to allow or not allow null values.

 

What do you mean by accepting blanks but not nulls? Do you mean a space? Or do you mean nothing (which is pretty much what null is, accepting issues with padding out with spaces).

 

All the best

 

Keith

Link to comment
https://forums.phpfreaks.com/topic/215321-php-help-stuck/#findComment-1119722
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.