hello sir... i had a problem... how can i delete two values?? before this i delete in one value only and it's work.. but how can i delete if i had two value...?? this is my coding for one value...
[PHP]if(isset($_POST['del_id']) && sizeof($_POST['del_id'])>0){
for($i=0;$i<cou nt($_POST['del_id']);$i++) {
$del = mysql_query("DE LETE FROM `stud_sub` WHERE `matric_no`='". $_POST['del_id'][$i]."'");//...
User Profile
Collapse
-
image
dear sir... i using icon to make my interface look nicer but my problem was how can i get when user point to the image, then some info to show what the image use for?? -
never mind... it's working already... thanks -
-
ajax not funtioning
i had made two ajax in one form but not functioning very well... can help me??
this is my html code
[HTML]<input name="matric" type="text" id="matric" onChange="showN ame(this.value) " size="15" />[/HTML]
[HTML]<select name="year" onChange="showY ear(this.value) ">[/HTML]
and this is my javascript
... -
-
clear/reset button
dear sir..
before this i using flash button for clear/reset the form.. it's work but when i upload into server the flash button dissapear... so i had to change it using coding button but i don't know how... please help me how to create reset button using code... thanks -
clear/reset button
dear sir...
right now i'm using flash button to create clear/reset button..unfortu natelly when upload into server, my flash button for clear/reset doesn't exist..so i try to create new one but i don't know how to create using manually.. because i had tried but it's not functioning.. so i need some help who can teach me or point me to any website that i can learn about clear/ reset button.. thanks -
-
all works very fine but just want to add one more select.. oh..do it same as i do with the year for call the block??Leave a comment:
-
Code:<script type="text/javascript" src="ajax.js"></script> <script type="text/javascript"> var ajax = new Array(); function getCityList(sel) { var countryCode = sel.options[sel.selectedIndex].value; document.getElementById('dhtmlgoodies_city').options.length = 0; // Empty city select box if(countryCode.length>0){ var index =
Leave a comment:
-
chained select box
hello sir, anyone can help me where can i learn about chained select box because i want to make 3 chained select box and saved it into database -
must do the ajax also??....can you point me to any source that i can learn about retrieve many data using ajax?? thanksLeave a comment:
-
yup.... i also had some new coding it's work..but the value had been set..how to retrive data from database? let say if had 30 data in database?Leave a comment:
-
i'm sory sir...
actually all the record are from my database.... that's why i use repeat region.. once admin find record by search all the data that require display.. but cam,final,are marks to be insert by admin..once admin key in the marks, total and gred will display then the admin save into the database....Leave a comment:
-
Code:<script type="text/javascript"> function calculate() var cams = document.getElementsByName("cam"); var finals = document.getElementsByName("final_exam"); var total = 0; for (i = 0; i < cams.length; i++) { var total = parseInt(cams[
Leave a comment:
-
Code:<script type="text/javascript"> function calculate() var cams = document.getElementByName("cam"); var finals = document.getElementByName("final_exam"); var total = 0; for (i = 0; i < cams.length; i++) { var total = parseInt(cams[i].value) + parseInt(finals[i].value);
Leave a comment:
-
Code:<script type="text/javascript"> function calculate() { for (i = 0; i < cam.length; i++) { var total = (parseInt(document.getElementByName("cam").value) + parseInt(document.getElementByName("final_exam").value)); document.getElementByName("total").value = total; } } </script>
Leave a comment:
-
you gave if we calculate one data,right?? what if we want to calculate many data like. the earlier part you gave it's work but if there is one data only..
cam(insert number) + final(insert number) = total (auto)(1 data)
cam (insert number) + final(insert number) = total (auto)(2 data)Leave a comment:
-
ok i take all the information is from my database..so admin just key in the number and total will came auto..but it work if one data that i retrieve from database..but if there is many info in my database how??
[PHP]<html>
<head>
<title>List Registered Subject | Medic Assessment System</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">...Leave a comment:
No activity results to display
Show More
Leave a comment: