Linux - SoftwareThis 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.
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.
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.
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/
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.