missyayad 0 Report post Posted December 8, 2013 Assalamualaikum , saya pelajar diploma n tengah buat final projek dalam php ,title projek saya clinic management , boleh tak tolong saya how to be start . thank you :) Quote Share this post Link to post Share on other sites
umarzuki 78 Report post Posted December 8, 2013 Apa yang nak manage tu? Mesti ada details. Quote Share this post Link to post Share on other sites
TonikCapGajah2013 175 Report post Posted December 8, 2013 (edited) Nak manage pesakit ker, nak manage staff ke, ubat2 ker .... PHP + Mysql? Edited December 8, 2013 by TonikCapGajah2013 Quote Share this post Link to post Share on other sites
missyayad 0 Report post Posted December 8, 2013 OBJECTIVE : i. Develop E-HEALTH CARE online system ii. Insert ,update,delete record and search patient record. iii. Generate statistic monthly, and yearly patient record. 1.4 SCOPE E-Healthy Care divided into two user scope and scope system 1.4.1 The scope of the system System administrator is a user to manage appointment and update information of E-Health care i.System can display all the name of patient or students which come to make a treatment. ii. System can record and save data information of patient automatically. iii. System can display all information about healthy to users 1.4.2 The scope of the user a)MEDICAL ASSISTANT i. Can delete, update, insert, record and drop the data in the system. ii. Can update new information about healthy for users . iii. can list down by automatically list of patient by using id card. iv. Can list down the statistic of patient by day, week and monthly. b. )patient i. can make online appointment with medical assistant. ii. Can login the system iii. can check report up-to-date with medical assistant iv. Can get more information about healthy ni adalah detail untuk projek saya , pless help me . yup php n mysql . dekat atas ni detail system saya . boleh bantu? Quote Share this post Link to post Share on other sites
TonikCapGajah2013 175 Report post Posted December 8, 2013 Sistem nie boleh browse melalui internet ker, local network? kena buat localhost? Quote Share this post Link to post Share on other sites
missyayad 0 Report post Posted December 8, 2013 sistem ni just for my ipta only . ye . boleh browse .coz this online system,im very new in it world ..baru nak belajar , still zero . .minta bantuan sangat2 Quote Share this post Link to post Share on other sites
TonikCapGajah2013 175 Report post Posted December 8, 2013 Rase nye kalau nak run php+mysql kena install server application spt wampserver, xampp dan seumpamanya. Bro guna Windows atau Linux. Quote Share this post Link to post Share on other sites
missyayad 0 Report post Posted December 10, 2013 tq , saya dah ada,mmg sebelum ni guna xampp , ada tak link link or anything yang membantu untuk projek saya?anyway thank you kerana mmbantu Quote Share this post Link to post Share on other sites
ahaksz! 44 Report post Posted December 10, 2013 Hmm cuba buat guna framework php. CakePHP ke, CodeIgniter ke, or yang tengah popular skg ni Laravel.Requirements dah ada, boleh proceed dengan use case bagai. Lagi senang nak tengok and develop.Boleh start dengan CRUD function untuk admin. Quote Share this post Link to post Share on other sites
missyayad 0 Report post Posted January 2, 2014 salam . ada sesiapa boleh share kan ilmu tak . saya cuba try buat login for 2 user , untuk admin and patient , saya gunakan kaedah if else untuk pggl . buat database tak dapat recgnise . , kenapa ye ? ada tak cara lain yang otai otai tahu ?or something page yang boleh share ? need help . thnank Quote Share this post Link to post Share on other sites
NeoLogy 74 Report post Posted January 2, 2014 salam . ada sesiapa boleh share kan ilmu tak . saya cuba try buat login for 2 user , untuk admin and patient , saya gunakan kaedah if else untuk pggl . buat database tak dapat recgnise . , kenapa ye ? ada tak cara lain yang otai otai tahu ?or something page yang boleh share ? need help . thnankplease share your code..baru kita boleh check dan tgk kat mana yang silap. Quote Share this post Link to post Share on other sites
Chuki2 32 Report post Posted January 3, 2014 (edited) Yup boleh buat, lihat code di bawah. <?php $_SESSION['user_role']= $user_role; //this should be a field in DB for each user //============Add other codes that needs no Admin rights========== //If this page needs admin access then put this code if( $_SESSION['user_role']=='admin') { echo "Welcome Admin!"; } else { echo "Access denied: You are not a admin!"; } ?> Code ini berkisahkan dimana admin sahaja yang boleh akses. Jadi dalam table user, biasanya ada 4 column iaitu ID, user_name, password, user_role. Jadi katakan ada 2 record iaitu : chuki2, 1234, admin payad, 1234, normal So sis kena buat query dalam page login, dan gunakan session untuk akses ke page admin. Lihat contoh sperti dibawah : //Buat query terlebih dahulu! //Contoh result selepas query while ($row = mysql_fetch_assoc($query)) { $dbusername=$row['user_name']; $dbpassword=$row['password']; $dbuserrole=$row['user_role']; } if ($dbuserrole == "admin") { header('Location: http://mysite.com/admin.php? id='.$_SESSION['user_role']=$dbuserrole); } else { header('Location: http://mysite.com/normal.php?id='.$_SESSION['user_role']=$dbuserrole); } Kalau user_role sebagai admin, dia akan direct ke page admin.php. Kalau user_role sebagai normal, dia akan direct ke normal.php. So ada paham? :D Edited January 4, 2014 by Chuki2 Quote Share this post Link to post Share on other sites
dvdbane 86 Report post Posted January 3, 2014 Kalau user_role sebagai admin, dia akan direct ke page admin.php. Kalau user_role sebagai normal, dia akan direct ke normal.php. So ada paham? :D terbaik.. :32: Quote Share this post Link to post Share on other sites
umarzuki 78 Report post Posted January 4, 2014 awek cepat je chuki2, siap bagi kod. mana tau lelaki gemuk gedempol dibelakang skrin :153: 3 hari tak reply...setel dah kot. Quote Share this post Link to post Share on other sites
Chuki2 32 Report post Posted January 6, 2014 awek cepat je chuki2, siap bagi kod. mana tau lelaki gemuk gedempol dibelakang skrin :153: 3 hari tak reply...setel dah kot. Choiiiii. Mana ada. Kalau lain2 pun aku tolong gak... tapi selow la sikit.... :155: Quote Share this post Link to post Share on other sites
EncikMalas 2 Report post Posted January 29, 2014 awek cepat je chuki2, siap bagi kod. mana tau lelaki gemuk gedempol dibelakang skrin :153: 3 hari tak reply...setel dah kot. yang nie aku sokong...hahaha Quote Share this post Link to post Share on other sites