User Profile

Collapse

Profile Sidebar

Collapse
azura
azura
Last Activity: Nov 11 '08, 02:07 AM
Joined: Jul 11 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • azura
    started a topic delete two values...
    in PHP

    delete two values...

    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]."'");//...
    See more | Go to post

  • azura
    started a topic image

    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??
    See more | Go to post

  • azura
    replied to clear/reset button
    never mind... it's working already... thanks
    See more | Go to post

    Leave a comment:


  • azura
    replied to ajax not funtioning
    never mind.. it's working already..thanks
    See more | Go to post

    Leave a comment:


  • azura
    started a topic ajax not funtioning

    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
    ...
    See more | Go to post

  • azura
    replied to clear/reset button
    i also done those using html but not functioning...
    See more | Go to post

    Leave a comment:


  • azura
    started a topic clear/reset button
    in PHP

    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
    See more | Go to post

  • azura
    started a topic clear/reset button

    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
    See more | Go to post

  • azura
    replied to chained select box
    ok thanks.... it's work fine.. tq..
    See more | Go to post

    Leave a comment:


  • azura
    replied to chained select box
    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??
    See more | Go to post

    Leave a comment:


  • azura
    replied to chained select box
    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 =
    ...
    See more | Go to post

    Leave a comment:


  • azura
    started a topic chained select box

    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
    See more | Go to post

  • azura
    replied to calculation function
    must do the ajax also??....can you point me to any source that i can learn about retrieve many data using ajax?? thanks
    See more | Go to post

    Leave a comment:


  • azura
    replied to calculation function
    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?
    See more | Go to post

    Leave a comment:


  • azura
    replied to calculation function
    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....
    See more | Go to post

    Leave a comment:


  • azura
    replied to calculation function
    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[
    ...
    See more | Go to post

    Leave a comment:


  • azura
    replied to calculation function
    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);
    ...
    See more | Go to post

    Leave a comment:


  • azura
    replied to calculation function
    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>
    like this???...
    See more | Go to post

    Leave a comment:


  • azura
    replied to calculation function
    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)
    See more | Go to post

    Leave a comment:


  • azura
    replied to calculation function
    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">...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...