I am trying to use the datepicker to insert a user-identified birthday into a database. My problem is that it doesn't insert anything. I am using PHP and MySQL. For simplicity's sake, I am currently As far as I can tell, the code itself is totally functional. Here is my JS code:
$(function() { $('#birthday').datepicker({ changeMonth: true, changeYear: true, yearRange: '1919:2009', dateFormat: ('@') }); }); Here is the HTML: <input type="text" id="birthday" /> Here is the PHP (as processed on submission of the form - assume that the other variables insert normally, since they do): $birthday = $_POST['birthday']; $sql = mysql_query("UPDATE user_profile SET about='".$about."', location='".$location."', name_full='".$name_full."', birthday='". $birthday."', gender='".$gender."' WHERE user_id='".$userid."'"); The field it inserts into is a varchar with 255 as the length. Everything else in the form submits and inserts into the DB normally. Does anyone have any idea? I am realizing more and more that I'm just a total noob when it comes to this stuff. Ugh. So the nearest I can figure right now is that I'm missing some setting that actually creates a datastring to be sent through POST, or something inane like that. Any help would be deeply appreciated. -- You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery...@googlegroups.com. To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.