Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

year getting null?

 
venkatesh padmanabhan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In this code, the year value is getting null.. why is it so? Am not able to insert the date, as the year value is getting null?
where should i change the year value, to get the user selected year??

[ March 31, 2006: Message edited by: Bear Bibeault ]
 
Praful Thakare
Ranch Hand
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no submit button ,no onchange on select box,When is your form submitted and how do u get null value?

-Praful
 
Praful Thakare
Ranch Hand
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh Okay got it now;
your code of inserting data should get executed only after page is submited put an if statement as follows


[ March 31, 2006: Message edited by: Praful Thakare ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic