matvespa Posted September 5, 2010 Share Posted September 5, 2010 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? Quote Link to comment https://forums.phpfreaks.com/topic/212580-default-value-in-phpmyadmin/ Share on other sites More sharing options...
matvespa Posted September 5, 2010 Author Share Posted September 5, 2010 Hey guys, sorry to bother you but i have already solved it. Quote Link to comment https://forums.phpfreaks.com/topic/212580-default-value-in-phpmyadmin/#findComment-1107443 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.