Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-11-2009, 10:44 AM   #1
LQ Newbie
Registered: Aug 2008
Location: Mexico
Distribution: fedora core 9
Posts: 7

Rep: Reputation: 0
Unhappy 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.
Old 02-11-2009, 12:40 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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
<= You can find thousands more on-line tutorials...
... possibly even on your own ISP

'Hope that helps .. PSM
Old 02-11-2009, 12:59 PM   #3
Senior Member
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
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
Old 02-12-2009, 08:34 PM   #4
Registered: Jan 2009
Posts: 100

Rep: Reputation: 17
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.


Last edited by servat78; 02-19-2009 at 12:24 PM.
Old 02-12-2009, 08: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

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
you might also find an open source php script that has already does this
a quick search turned up this
see if that helps
Old 02-15-2009, 06:30 PM   #6
LQ Newbie
Registered: Aug 2008
Location: Mexico
Distribution: fedora core 9
Posts: 7

Original Poster
Rep: Reputation: 0

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.


mysql, php

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Assistance in Slackware!!! cj_cheema Linux - Software 8 12-18-2006 04:39 PM
Proftp assistance carlp Linux - Software 2 08-03-2005 02:27 PM
Need assistance please wennie Linux - Software 5 03-16-2005 08:24 AM
Need assistance spotslayer Linux - Software 1 11-18-2004 07:49 AM
Need Assistance Bizar Slackware 11 06-25-2003 10:10 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration