Jump to content

Default Value in PHPMyAdmin


matvespa

Recommended Posts

Hi. I have defined a default value in my images column. Currently im doing so via php coding and it works fine with it. However, i need to do this on the SQL end and remove the php coding, making my images column with a default value when the form filled is empty.

 

I've set the images column as follows:

Varchar

5000

As Defined:

images/value.png

 

And whenever i have an my image file upload form field is empty, it will automatically input images/value.png onto my database. But this is not what happen. Instead, it shows an empty cell as though there is no value. Any suggestions?

Link to comment
https://forums.phpfreaks.com/topic/212580-default-value-in-phpmyadmin/
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.