Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- success:function(data)
- function SetTheAmount_man()
- { //Get
- var member_id = $('#mem_un_id').val();
- // alert(member_id);
- $.ajax({
- url:"<?php echo
- base_url();?>demo_insert.php",
- data: {member_id:member_id},
- type: "POST",
- success:function(data){
- //alert(data);
- // alert(member_id);
- if (data == 'success')
- {
- alert("123");
- }
- else
- {
- alert("456");
- }
- //window.open('http://www.google.com');
- //alert(data);
- // $("#secheme_interest_value").html(data);
- }
- });
- }
- if(isset($_POST['member_id']))
- {
- $mem_un_id=$_POST['member_id'];
- $sql_in= mysql_query("select mem_un_id,deleted from phppos_customers where mem_un_id='".$_POST['member_id']."' and deleted='0'");
- //$row = mysql_affected_rows($sql_in);
- $row=mysql_fetch_array($sql_in);
- if($row['mem_un_id']!=''){
- echo "success";
- }else{
- echo "error";
- }
- //echo $row['mem_un_id'];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement