Jump to content

tauchai

Members
  • Posts

    14
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

tauchai's Achievements

Member

Member (2/5)

0

Reputation

  1. i developed a function,wen user enter a date,the sys can shown who is on leave,i saved the date in varchar in mySQL,how can i compare it,my code juzt work well with date format but NOT varchar.
  2. y database store the start date and start time as 1148976000 and 1148979600 ????how to calculate? the author put the data type for start date and time as integer....how come it like this?
  3. unix timestamp...yes..is it posible? maybe i will change to yyyy/mm/dd...is it better? any suggestion or simplest way?
  4. how to compare date in database with the input selected by the user? probably using drop down date...is it possible? coz i would like to detect clash bewteen the two date? what shpuld i write? how the code looks like? thankss
  5. i'm wondering how to write a code to link an images to particular reuest. my system is creating a room booking system...once the user select a particular room, the picture will show..how to do this? how to match the picture with the user selection ...?? plz help thxs
  6. i mean if there is any coding to disable the button or gray it out which is easiet way...assigning different access level is ok..but the view/menu item for the normal user is just little..just 1 or 2..so it is better for me to gray it out and all user share all menu item, with normal user,some menu item is not accessible by gray out or disable the button..
  7. I don have idea to disable some of the menu on the topbar...meaning normal user should not able to access to the menu item...only for administrator. But How to disable it or gray the button out so that is notclicakbe for normal user? is it need Javascript or wat? plz help. thxs a lot! :)
  8. global $PHP_SELF; $cookie_path = $PHP_SELF; $cookie_path = ereg_replace('[^/]*$', '', $cookie_path); session_set_cookie_params(0, $cookie_path); wat does it means? can anyone explain one line by line? thxs a lot!
  9. it means based on the user input throught the drop down menu, we provide the result...the result is retrieved from the database....then the result is shown down there of the same page....based on the input from user (drop down menu). of coz there is a "query" button for user to submit....do u understand? hope so..hehe.. [img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /] plz help..... thxs..
  10. or any links will do..as i nit some idea to start the coding...
  11. i couldn't found the code for the query using the drop down menu...if anyone hae similar code or know how 2 do, could u plz copy to here? i want to query the database to get the result of the room and its inventory from two tables ( table room and table inventory) using the drop down menu.. actually total got 3 table ,include room type ( to show disccusion room, meeting room etc) the structure looks like this : select room type : drop down menu select room name: drop down menu Result is down here: ........................................................................................... plz help....
  12. <form action=add.php method=post> <input type=hidden name=type value=room> <input type=hidden name=area value=[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]<?php [!--colorc--][/span][!--/colorc--]echo $area; [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]?>[!--colorc--][/span][!--/colorc--]> i don understadn this. When pass to next form for processing, the [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]name[!--colorc--][/span][!--/colorc--] is used or the [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]value [!--colorc--][/span][!--/colorc--]is used? and then, 2nd question: why the value could be a varibale as following? value=[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]<?php [!--colorc--][/span][!--/colorc--]echo $area; [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]?>[!--colorc--][/span][!--/colorc--]> can someone explain to me. It's quite confusing and i'm totally new to php and server side scripting..
  13. if(!$sec->isLoggedIn()) { header ("location: ../login.php"); exit(); } wat does this symbol means in PHP coding ? -> is it an aray or wat? -> same with => or not? anyone know plz reply. thxs a lot.
  14. anyone who has experience in developing room booking system.... can u give me the idea? the easiest way to do it....
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.