Jump to content

rmariano02

Members
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

rmariano02's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. is there a possible way to pass the values of javascript to PHP. what was my true goal is to insert the values from javascript promp and update my field into database.
  2. <INPUT TYPE='button' VALUE='Teest' onclick="myFunction()"> <script type = 'text/javascript'> function myFunction() { var x; var person=prompt("Please enter your feedback",""); if (person!=null) { <? $test = ""+person; ?> } } </script> <? echo"".$test; ?>
  3. Thank you so much again and sorry for asking too much questions.
  4. Sorry i'm just new in PHP and SQL can i know what do you mean by sorry i'm not good in understanding English. do you mean is that i can no logger use the calling of sql in to SQLi? or i can still use the same code because SQLi can adopt to SQL old codes. i'm realy sorry for your trouble .
  5. Can i still use the same code in SQL to SQLi? or i still need to declare both SQL and SQLi?
  6. How can i call a specific row when ever a like. example : $record = mysql_query("select * from table_name"); ($getValue= mysql_fetch_row($record) //i'm not sure what should i use. should i use mysql_fetch_array, mysql_ fetch_ assoc, mysql_ fetch_ object, mysql_ field_ name and etc. print $getValue[$column_name][0]; 0 = value 1st row in the database/table_name 1 = value 2nd row in the database/table_name 2 = value 3rd row in the database/table_name ...... .... ...... ..... etc. is there a code i can do except from using sql_fetch_array then loop and put in into a multidimensional array?
  7. how can i automated give schedule to a faculty. if each faculty should have 12 schedule persemester and maximum of 12 hours per day. every schedule is consist of MTH, TF, WS, MM, TT, WW, THTH, FF, SS if the system select schedule to be load to a faculty is MTH or TF or WS those day have 1hour, 30mins and if the selected schedule is MM,TT,WW,THTH,FF,SS it means those they have 3hours. and each faculty can have at most 3 consecutive subjects then maximum of 3 hours of break time the possible time for each schedule is 7:30 - 9:00 9:00 - 10:30 10:30 - 12:00 12:00 - 13:30 13:30 - 15:00 15:00 - 16:30 16:30 - 18:00 18:00 - 19:30 depending on the schedule if the day is MTH,TF,WS the have 11hour,30mins because each day = 1:30 if the day is MM, TT, WW,THTH, FF, SS the time is 3hours i have 3 tables the schedule_list, faculty_list and the generated_schedules the primary key for the schedule_list = section, faculty_lsit - faculty_ID im having hard time randomly select the schedules to the schedule_list and give it to a faculty that should have the validation of - no same section - no same same day and time - yes to same time but different day - maximum of 12 schedule/section per week/semester - maximum of 12 hours of teaching per day start teaching time is 7:30 until 19:30 - each faculty can have at most 3 consecutive subjects then maximum of 3 hours of break time a day sorry i'm really having hard time thanks and sorry for my bad English i already try but i hardest part is giving atmost 3 consecutive subject per day and maximum or 3 hours
  8. Hi, I have a couple questions here -- maybe someone can help me out, INTRANET: Is there a site somewhere with details on the server side of setting up an Intranet? I'm a student -- and i'm a bit lost when it comes to server side configurations. I've created an website, but i don't know how to set up an INTRANET from scratch. I dont know where to begin to set up the server. I'm sure it's fairly simple - but I have very basic questions. Like how can i setup an Intranet by just using a desktop or Laptop, what can i use?(crossable, Bluetooth, etc), doest it support PHP and sql server? how two computer can access the site. As you can see, I need basic instruction. If anyone can point me in the right direction, I'd appreciate it.
  9. I'm making a system that will automate load a schedule to the faculty and they will be load base on their expertise percentage. There is 4 subject, lets name them PE1, PE2, PE3, and PE4 they have to choose what subject will have the 50%, 25%, 15% and 10%. The maximum number schedule than can be load is 12. I'm confuse how can i know how many schedule will be load per subject if we base on the percentage.
  10. when i try to run this code no error comes out but the values is not storing in the database please help T_T Interface(client.php) Validation(reserve.php)
  11. when i try to run this code no error comes out but the values is not storing in the database please help T_T Interface(client.php) Validation(reserve.php)
×
×
  • 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.