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. |
Hi -
You need to take "baby steps". I'd strongly urge you to buy a book, and work through one or two PHP/MySQL tutorials. Here are a couple of suggestions: "Teach yourself PHP, MySQL and Apache in 24 Hours", Julie C. Meloni <= Silly title ... great book http://php.about.com/od/troubleshoot...basics_tab.htm http://php.about.com/od/phpwithmysql/ss/mysql_php.htm http://php.about.com/od/troubleshoot...sql_basics.htm http://www.w3schools.com/ http://www.phptutorial.info/ <= You can find thousands more on-line tutorials... ... possibly even on your own ISP 'Hope that helps .. PSM |
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. Debian |
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 |
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 06:14 AM. |