calander in php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
myasirm
Forum Commoner
Posts: 54
Joined: Sat Sep 12, 2009 3:57 am

calander in php

Post 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
myasirm
Forum Commoner
Posts: 54
Joined: Sat Sep 12, 2009 3:57 am

Re: calander in php

Post 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
User avatar
Mirge
Forum Contributor
Posts: 298
Joined: Thu Sep 03, 2009 11:39 pm

Re: calander in php

Post by Mirge »

myasirm
Forum Commoner
Posts: 54
Joined: Sat Sep 12, 2009 3:57 am

Re: calander in php

Post by myasirm »

thanks dear forur reply yes i need same thing but kindly send me php code for that
myasirm
Forum Commoner
Posts: 54
Joined: Sat Sep 12, 2009 3:57 am

Re: calander in php

Post 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>
litarena
Forum Newbie
Posts: 14
Joined: Tue Sep 01, 2009 3:39 am

Re: calander in php

Post 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.
User avatar
Mirge
Forum Contributor
Posts: 298
Joined: Thu Sep 03, 2009 11:39 pm

Re: calander in php

Post 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...
myasirm
Forum Commoner
Posts: 54
Joined: Sat Sep 12, 2009 3:57 am

Re: calander in php

Post by myasirm »

thank u dear i resolved my problem with ur help
Post Reply