|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
I work for a charity in the UK and one of our volunteers and me are trying to develop an appointment booking database using php code. I'm only a beginner so please bear with me asking these questions.
1) I'm looking for a script that will enable a calendar to "pop up" that way the user can select a date that is not a public holiday or weekend etc...... instead of them having to type in the date and wait for the system to tell them that it's a sunday etc. 2) The volunteer is the programmer, I'm just helping test the functionality of the database etc. but I would like to learn a bit more about php to see what it can do, is there a beginner's type website or can anyone recommend a simple (written in plain english) book? Thanks Hitesh www.haltoncab.com Last edited by helpcharity : April 17th, 2004 at 06:01 AM. Reason: title not catchy enough |
|
#2
|
|||
|
|||
|
i used the book 'php by example'.
|
|
#3
|
|||
|
|||
|
calender examples
There are a few examples on the net if you search for php + calendars
URL URL URL Here are a few example calendars. Hope they help! Tejneet |
|
#4
|
|||
|
|||
|
ANYBODY .... HELP ME ,..., REDHAT9 and PHP
Why my PHP doesnt send variables from the <input> fields??? I have the linux, I think the most problematic one ....RedHat Linux 9 Shrike ........ I dont know, what`s the problem. I write a simple *.htm page that contains the minimal. /************* index.html***************/ <html> <form action="next.php"> Login: <p><input type = text name = "login"></p> <p><input type = submit></p> </form> </html> /**************** next.php********************/ <?php echo $login; //HERE NOTHING PRINTS ,..., EMPTY ,..., //I think it simply wont send the variables.. WHY???? //if it must be configured in conf files, please tell me. //or I`ll think this RH9 sucks ..... ?> |
|
#5
|
|||
|
|||
|
Change <form action="next.php">
to <form action="next.php" method="post"> and echo $login; to echo $_POST ['login']; and your script will work. I recommend reading up on register globals (thread at top of this forum, other details all over the internet) then you should see what the problem is/was. Hope this helps, -KM- |
|
#6
|
|||
|
|||
|
But that change must be done all the time? ... why , If I dont wanna use post method ... what then? ... Thanx anyway ... Ill see it.
|
|
#7
|
|||
|
|||
|
Your alternative to using the POST method is the GET method for forms and either way you will need to access $_POST or $_GET unless you turn register globals on. For more information about register globals read the sticky thread at the top of this forum.
-KM- |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > beginner's php questions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|