i have problem insert the information of datepicker have view in
textbox to mysql database

this script on php for display datepicker:

<script type="text/javascript">
        $(function() {
                $('#datepicker').datepicker({
                        changeMonth: true,
                        changeYear: true
                });

and then, this script beetween <body> </body>

<form name="form1" method="post" action="sim.php">
<td>date :</td>
<td><div><input type="text" id="datepicker"></div></td>

ok..i can view the datepicker effect on my form, its good. but i cant
save it on mysql
on sim.php action :

after make the connection to the database...
....
$SQL = "INSERT INTO siswa VALUES ('$datepicker');
....
anybody help me how to save the information textbox after choice the
date from textbox to mysql ? (sim.php) ?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to