var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Is there some way I can make a trigger in MySQL? I want to put a default date in a date field, and can't figure out how to do it. Thanks.
I don't think you can use triggers in MySQL unless it is in version 5.
But you are only asking to set a default date, can't you set up your table to accept that?
ALTER table mytable
mydate date default '0000-00-00'
Thanks for your reply. I just get zeros in my date column now.
well yes, that would be the default. What date do you want to set to? Use that in place of the 0000-00-00