SunQuest
 
           General SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesGeneral SQL 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:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old January 28th, 2003, 08:50 AM
sara_lauren sara_lauren is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 32 sara_lauren User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Question how to make appointments

Hi all.

I'm having a problem in designing an e-clinic website for patients to make appointments with doctors. I built the login pages for the patients and doctors and am almost gonna do the dcotors' and patients' personal pages but I don't know how to do the appointments.
Is there any "all-purpose" appointments application with php and mysql that I can customise to my requirements somewhere?
Please help me out with this people.

Thanks in advance.
Sara
__________________

Reply With Quote
  #2  
Old January 29th, 2003, 10:45 PM
ramz ramz is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Juiz de Fora - MG- Brazil
Posts: 93 ramz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to ramz Send a message via MSN to ramz
Help...

Hi sara!

Look, I don't know a tutorial or a ready-code for what you need, but I can help you to build that... give me more information about what you need and I'll help you.
__________________
Regards,
Ramiro Varandas Jr.

Reply With Quote
  #3  
Old January 31st, 2003, 07:51 AM
sara_lauren sara_lauren is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 32 sara_lauren User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Hi ramz

Ok basically I want to allow patients to MAKE and SEE their appointments with a doctor.They can only see their own appointments.

And I want to allow doctors to only SEE their appointments with patients.
The e-clinic is "open" from 9am till 5pm and an appointment is only 15mins.

I don't even know how to start.

Can u help me? Thanx a lot in advance.

Reply With Quote
  #4  
Old February 4th, 2003, 11:41 AM
ramz ramz is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Juiz de Fora - MG- Brazil
Posts: 93 ramz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to ramz Send a message via MSN to ramz
Hi Sara!
Sorry for taking so long... Busy =)
I've made the files, please put them in your server and check to see if this can help you. Modify them to fit your needs. Anything else just message.

P.S.: To create the tables, use this command (put the appointment.sql file in your c:\):

mysql -uyour_user -p db_name < c:\appointment.sql

Before doing anything, please change the host, user, pass and db values at Line 91 of the db.Class.php to fit your MySQL configuration.
Attached Files
File Type: zip sara.zip (8.8 KB, 389 views)

Reply With Quote
  #5  
Old February 5th, 2003, 03:22 PM
sara_lauren sara_lauren is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 32 sara_lauren User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Hi!

Oh my god!
This is so much! I'm sooo sorry for the trouble I caused u!
This is a lot of code!
Oh thank u so much ramz!It's gonna take me a while to modify it to my site though!Hehe
I won't be able to start on it yet though cuz I'm having problems with the personal pages of the patients and doctors....these cookies are driving me crazy!

THANK U SO MUCH RAMZ! XXX

Sara

Reply With Quote
  #6  
Old February 5th, 2003, 07:12 PM
ramz ramz is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Juiz de Fora - MG- Brazil
Posts: 93 ramz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to ramz Send a message via MSN to ramz
Hi Sara!
No problem... you didn't cause any problem... I took only 45 minutes to develop all of that...
About modifying it... if you have problems, message here, ok?!
About the cookies... I know that you have posted a message at the PHP Forum... please, post here what you want... the files you're using and I'll solve it for you, no problem...
Anything else, just message.

Reply With Quote
  #7  
Old February 15th, 2003, 12:34 PM
sara_lauren sara_lauren is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 32 sara_lauren User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Hi Ramz!

I'm trying to modify your code so that it doesn't show the "pages",u knowthe first,previous,etc...I just want to display the appointments on their own.
Sorry for troubling u so much Ramz. Thank u so much for what u've done for me.
Sara

Reply With Quote
  #8  
Old February 15th, 2003, 06:52 PM
ramz ramz is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Juiz de Fora - MG- Brazil
Posts: 93 ramz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to ramz Send a message via MSN to ramz
Hi Sara!
So, let me see if I understood. You don't want to show the navigation bar, right?!
Attached is a modification of the browse.php file. If there's anything else, message me, ok?!
Attached Files
File Type: txt browse.txt (1.0 KB, 286 views)

Reply With Quote
  #9  
Old February 17th, 2003, 12:31 AM
sara_lauren sara_lauren is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 32 sara_lauren User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Hiya Ramz!
Here it is!
Attached Files
File Type: zip ramz.zip (9.1 KB, 359 views)

Reply With Quote
  #10  
Old February 19th, 2003, 09:43 AM
ramz ramz is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Juiz de Fora - MG- Brazil
Posts: 93 ramz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to ramz Send a message via MSN to ramz
Here we go...

Hi Sara!
All the files are on the zip file.
Put it in the www dir to run, ok?!
There is a file called tables.sql, you should drop the tables in your database and add this with all the data, ok?!
You need to modify 2 files:
eclinic/inc/db.Class.php - line 20 to your DB settings
eclinic/admin/inc/db.Class.php - line 20 to your DB settings

To add doctors and patients, go to the /admin/ folder.
Like this: http://localhost/eclinic/admin/
To run the system: http://localhost/eclinic/

Any problem, message me.
Regards,
Ramiro
Attached Files
File Type: zip eclinic.zip (33.8 KB, 338 views)

Reply With Quote
  #11  
Old February 23rd, 2003, 08:56 PM
sara_lauren sara_lauren is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 32 sara_lauren User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Hiya Ramiro!


Here are the files I did till now.
Thank u so much.

Sara
Attached Files
File Type: zip eclinic 2.0.zip (6.9 KB, 409 views)

Reply With Quote
  #12  
Old February 26th, 2003, 01:48 AM
sara_lauren sara_lauren is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 32 sara_lauren User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I've been working on the appointment.php file to try to remove $txtId and import_request_variables("gp") and still make it work but I keep getting errors.

Thanks again Ramiro
Attached Files
File Type: zip sara.zip (4.8 KB, 363 views)

Reply With Quote
  #13  
Old February 26th, 2003, 09:21 AM
ramz ramz is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Juiz de Fora - MG- Brazil
Posts: 93 ramz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via ICQ to ramz Send a message via MSN to ramz
Hi Sara!
I've made the changes in the appointment.php file and it's attached here. I took off the $txtId. The purpose of this variable is to update an appointment. The import_request_variables("gp") is easy... if you have globals on at your php.ini file, you can remove this line from your code, else leave it there, because this line do the same think as having globals on. I prefer this way because it gets easier to work on and you don't need to always keep using $_GET['vars'] or $_POST['vars']... it automactly imports the forms and query string variables to the code.
Anything else, send me a message. If you having too much trouble to change what I've made, install ICQ and we can online in a few hours do it all over again.

Reply With Quote
  #14  
Old November 1st, 2004, 11:57 AM
guitargunman guitargunman is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 1 guitargunman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi RAMZ,

I know it's been awhile since this thread, but I'm looking to do the same thing that Sara is doing. Would you happen to have the files that you wrote for her laying around?

I really appreciate the effort.

Just to clarify, I'm wanting to create a website that patients can log into, then create an appointment to see the doctor of their choice (via drop-down box), and it emails the clinic, so they can follow-up with the patient at the clinics' convienance (to confirm), and the user can log in and see their appointments, create another, change their existing one, etc.

These are all of course the "big-picture" but I would like something moving us toward those goals.......

I have MySQL database server, and I can do all of the database setup stuff, just don't know where to start with the PHP, or whatever is easiest to use.

Thanks in advance,
-Eric Wall


Quote:
Originally Posted by ramz
Hi Sara!
I've made the changes in the appointment.php file and it's attached here. I took off the $txtId. The purpose of this variable is to update an appointment. The import_request_variables("gp") is easy... if you have globals on at your php.ini file, you can remove this line from your code, else leave it there, because this line do the same think as having globals on. I prefer this way because it gets easier to work on and you don't need to always keep using $_GET['vars'] or $_POST['vars']... it automactly imports the forms and query string variables to the code.
Anything else, send me a message. If you having too much trouble to change what I've made, install ICQ and we can online in a few hours do it all over again.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesGeneral SQL Development > how to make appointments


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 |