Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-11-2009, 09:44 AM
|
#1
|
LQ Newbie
Registered: Aug 2008
Location: Mexico
Distribution: fedora core 9
Posts: 7
Rep:
|
PHP Assistance, please help!!
Hi, I'm running a fedora core 9 with php but I'm not sure how to create the database interaction for my dad so I hope you can Help me.
We would like to create an appointment database, with php and mysql, those programs right now are up and running.
We want to create a database for his patients (he is a doctor),
but the reason of this database is because we want to let them take their appointments on their own.
But I don't know how to create the web page that shows only the working hours, and when the customer sign up for that time then the we page won't show that time.
Here's an example.
monday 14/02/09
4:00 pm available
5:00 pm available
6:00 pm available
The customer takes the 5:00 pm
4:00 pm available
5:00 pm not available
6:00 pm available
we want to create a link to the registration.
I just need assistance with the time schedule, we have the registration database.
I mean the way we can handle the information and the display of it.
Thanks for your help.
|
|
|
02-11-2009, 11:59 AM
|
#3
|
Senior Member
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094
Rep:
|
You may also do better to seek assistance on a PHP forum. If you problem was about getting PHP working on Linux then this forum would be a good place to seek help but what you're trying to do is write PHP code and that's an entirely different type of problem.
One such forum can be found at http://www.phpfreaks.com/forums/
|
|
|
02-12-2009, 07:34 PM
|
#4
|
Member
Registered: Jan 2009
Posts: 100
Rep:
|
Start out with the database design. Have a flag within the schedules table that signals if that specific timeslot is available or not. The PHP script will then query for open timeslots only when displaying these.
If this is really a real project, then consider outsourcing it to some coder site. If it's a pet project to help your father, then gather tutorials on MySQL and PHP to be equipped to make an impression. You will need to deal withdata maintenance (backup, removing old/outdated entries, keeping patient logins, etc) - this can be a lot of work.
Debian
Last edited by servat78; 02-19-2009 at 11:24 AM.
|
|
|
02-12-2009, 07:46 PM
|
#5
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
|
you might also find an open source php script that has already does this
a quick search turned up this
http://www.oemr.org/
see if that helps
|
|
|
02-15-2009, 05:30 PM
|
#6
|
LQ Newbie
Registered: Aug 2008
Location: Mexico
Distribution: fedora core 9
Posts: 7
Original Poster
Rep:
|
Thanks
Thanks to everyone, I will do it my self its just a pet proyect and I would like lo learn.
Have a great day, I will keep you posted.
|
|
|
All times are GMT -5. The time now is 10:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|