Page 1 of 1

calander in php

Posted: Thu Oct 15, 2009 2:14 am
by myasirm
hi guys
i creat a form in this user have to enter his/her date of birth in text box but i want to show icon near that when he/she click on that clander should open and he select date month and year from thatand it display on the text box he can not direcly enter on the text box

so kindly help me in this regards if any one know

thanks in advance waitng for ur replies

Re: calander in php

Posted: Thu Oct 15, 2009 11:32 pm
by myasirm
?????????

kindly help me in this regards or give me any idea that how it can be done bcoz i beleive that no thing is impossible

waiting for replies

Re: calander in php

Posted: Thu Oct 15, 2009 11:51 pm
by Mirge

Re: calander in php

Posted: Fri Oct 16, 2009 1:20 am
by myasirm
thanks dear forur reply yes i need same thing but kindly send me php code for that

Re: calander in php

Posted: Fri Oct 16, 2009 2:04 am
by myasirm
kindly check this i have used this code it is same as in the link i just copied but it is not working properly

<html >
<head>

<script type="text/javascript">
$(function() {
$("#datepicker").datepicker();
});
</script>


<title>Untitled Document</title>
</head>

<body>


<div class="demo">

<p>Date: <input type="text" id="datepicker" ></p>

</div><!-- End demo -->



</body>
</html>

Re: calander in php

Posted: Fri Oct 16, 2009 3:52 am
by litarena
Search the Internet looking for "datepicker" PHP/Javascript functions with examples and tutorials and then select the code which is given in the examples and read the tutorial guidelines. There's one here:
http://www.triconsole.com/php/calendar_datepicker.php

If you can't make one particular tutorial's code work, don't fret about it, just save what you've done with the link to the tutorial, and move on to the next tutorial, and so on, until you've got one fully working. Then, (if you want to improve your php abilities,) go back to the tutorials that you couldn't understand and modify your saved code to make those ones work too. Then store all the code in a safe place for you to look back over at sometime in the future so you can see how far you've progressed, or to remember how to use a particular function.

Re: calander in php

Posted: Fri Oct 16, 2009 10:08 am
by Mirge
myasirm wrote:thanks dear forur reply yes i need same thing but kindly send me php code for that
You aren't going to get *PHP* code that does that... that's Javascript. Read the documentation that is available on the site. It utilizes jQuery, so also check the jQuery documentation... http://jquery.com...

Re: calander in php

Posted: Sat Oct 17, 2009 6:10 am
by myasirm
thank u dear i resolved my problem with ur help