PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
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  
Old April 17th, 2004, 05:49 AM
helpcharity helpcharity is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 1 helpcharity User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question beginner's php questions re:calendar script

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

Reply With Quote
  #2  
Old April 17th, 2004, 02:17 PM
rayw rayw is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 5 rayw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i used the book 'php by example'.

Reply With Quote
  #3  
Old April 19th, 2004, 12:04 PM
tejneet tejneet is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 2 tejneet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #4  
Old July 20th, 2004, 07:01 PM
volodya volodya is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 2 volodya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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 .....
?>

Reply With Quote
  #5  
Old July 21st, 2004, 06:38 AM
kode_monkey kode_monkey is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 367 kode_monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 21 sec
Reputation Power: 6
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-

Reply With Quote
  #6  
Old July 26th, 2004, 12:15 AM
volodya volodya is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 2 volodya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
But that change must be done all the time? ... why , If I dont wanna use post method ... what then? ... Thanx anyway ... Ill see it.

Reply With Quote
  #7  
Old July 26th, 2004, 02:54 AM
kode_monkey kode_monkey is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 367 kode_monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 21 sec
Reputation Power: 6
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-

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > beginner's php questions


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway