Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

amitb2

@amitb2
About
Posts
2
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How can I submit with 1 button and 1 form with 2 actions?
    A amitb2

    index.php

    PHP MySQL Insert Tutorial
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
            
    Insert
    

    2nd.php

    minus

    js

    $('#myform').submit(function(){
    return false;
    });

    $('#insert').click(function(){
    $.post(
    $('#myform').attr('action'),
    $('#myform :input').serializeArray(),
    function(result){
    $('#result').php(result);
    }
    );
    });

    Linux, Apache, MySQL, PHP question javascript php database mysql

  • How can I submit with 1 button and 1 form with 2 actions?
    A amitb2

    I have 2 pages. 1st is the index.php that have 3 fields. 2 of them should saved to sql and its works fine and the 3rd one should pass the value to 2nd screen. I have JS file. I success doing these 2 operations successfuly but in seperated projects. When I am trying to make them together there are mistakes. I want to know How can I implement those 2 parts together please. index.php

    PHP MySQL Insert Tutorial
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
            
    Insert
    

    2nd.php

    minus

    jS

    $('#myform').submit(function(){
    return false;
    });

    $('#insert').click(function(){
    $.post(
    $('#myform').attr('action'),
    $('#myform :input').serializeArray(),
    function(result){
    $('#result').php(result);
    }
    );
    });

    Web Development database question javascript php mysql
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups