Jump to content

djbuddhi

Members
  • Posts

    153
  • Joined

  • Last visited

    Never

Everything posted by djbuddhi

  1. onclick event u call a AJAX page ...it will works fine
  2. wow this string replace thing is works fine ....thanks guys
  3. Guys ; my variable is 100,100.00 but i want to use as 10000 i want to omit , in a php variable ....how to do that ? whats the command that is used 2 display as it is thx
  4. YES I CAN HELP U OUT U SEND ME UR DB SCRIPT AND THE CODE I WILL CODE AND SEND U EMAIL 2 BUDDHIKAPERERA@HOTMAIL.COM.........MAKE SURE U KEEP THE HEADING FROM PHPFREAKS......CAUSE I GET HUGE EMAILS....
  5. i just want 2 make some php bar chart and a pie chart what is the best php apps for this or any sample codes pls.....
  6. u can do it in a javascript also ....very simple...........
  7. lol: if u use smarty plugin u can do it in a better way
  8. u have 2 write a function 2 pass the checkbox value 2 php via java script here is a function for this function CheckStaste() { if(document.myform.srcctc.checked != true) { document.myform.srcctc.value=0; } } call this function on click even of the checkbox ....i face the same trouble like when i doing some application....hope this will help ....if not pm with ur code
  9. it works with the both methods ...i used 2 use POST instead of GET
  10. easy u display the values like this val1 -val2-val3 by using a JavaScript u can split with the - value and take the variables easily
  11. mus be the problem in the database fields ,use tiny text field
  12. can u upload this ajax thing ...then i will updated it
  13. what is the best email class.i have used phpemaliler class but unable to send emails to hotmail and yahoo accounts ... is there any specific class available for this ?
  14. thanks bro ,i have gone through the videos at the same time there are some youtube videos as well
  15. u don't have to write much one of my project sample function ajaxFunction(){ var ajaxRequest; // The variable that makes Ajax possible! try{ // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e){ // Internet Explorer Browsers try{ ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try{ ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ alert("Your browser broke..!Pls Try Again ...!"); return false; } } } // Create a function that will receive data sent from the server ajaxRequest.onreadystatechange = function(){ if(ajaxRequest.readyState == 4){ var ajaxDisplay = document.getElementById('divAdd_Info'); ajaxDisplay.innerHTML = ajaxRequest.responseText; } } var password = document.getElementById("password").value; var new_password = document.getElementById("new_password").value; var re_password = document.getElementById("re_enter_password").value; if(password==""){ alert("Current Password Cannot be Blank..!"); document.getElementById("password").select(); document.getElementById("password").focus(); return false; } if(new_password==""){ alert("New Password Cannot be Blank..!"); document.getElementById("new_password").select(); document.getElementById("new_password").focus(); return false; } if(re_password==""){ alert("Re Enter Password Cannot be Blank..!"); document.getElementById("re_enter_password").select(); document.getElementById("re_enter_password").focus(); return false; } if(password==new_password){ alert("Current Passsword & New Password cannot be The Same ...!"); document.getElementById("re_enter_password").select(); document.getElementById("re_enter_password").focus(); return false; } if(re_password!=new_password){ alert("New Passsword Does not match with the Re-Enter Password ..!"); document.getElementById("re_enter_password").select(); document.getElementById("re_enter_password").focus(); return false; } /* if (password == "") { //hide_error(); document.getElementById("nameError").style.display = "inline"; document.getElementById("password").select(); document.getElementById("password").focus(); return false; } else if(new_password=="") { hide_error(); document.getElementById("new_pass_Error").style.display = "inline"; document.getElementById("new_password").select(); document.getElementById("new_password").focus(); return false; } else if(re_password=="") { // hide_error(); document.getElementById("re_enter_password").style.display = "inline"; document.getElementById("re_enter_password").select(); document.getElementById("re_enter_password").focus(); return false; } else{ document.getElementById("re_enter_password").style.display = "none"; } function hide_error(){ document.getElementById("nameError").style.display = "none"; document.getElementById("new_pass_Error").style.display = "none"; document.getElementById("re_enter_password").style.display = "none"; } */ // noOfSubmits++; //if(noOfSubmits>1) //{ //alert("Submission already done. Please wait ..!"); //return false; //} //else{ var queryString = "?current_pass="+password +"&new_password="+new_password +"&re_enter_password="+re_password; ajaxRequest.open("POST", "change_password_approver.php" + queryString, true); ajaxRequest.send(null); //} }
  16. anyone knows how to start with 'Aptana Studio 1.0' for php development help extremely needed ? where can i find this
  17. hey guys ; does anyone knows how to configure Eclipse ID to debug and run PHP scripts...
×
×
  • 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.