Pick up data via POST

Asked

Viewed 46 times

0

Hello, I need help to continue a project, I believe that for people who already have an advanced knowledge is something very simple, but as I am layman is very complex.

I have an index page where the user will enter a PIN, I take this PIN with ajax and send to another page SAVE.PHP and on this page I make the query to the bank returning true or false, but it is returning me only the value false/'I found nothing', I have in mind that I typed something wrong or I stopped typing and the variable containing the PIN is going to the empty analysis, I put the IMG of the code in the topic.

Can anyone help me?? Thanks in advance, thanks, thanks.!

Código fonte

  • 2

    When placing code in the question, prefer text instead of image. Many users access the page with mobile phone and the image of the code makes it difficult to read. For desktop users changing tabs can be a nuisance. Also to answer the question makes it difficult, because instead of copying and pasting the existing code would have to write it again.

  • No, I know a lot of jquery, but it must be this false Return there... Follow the friend’s tip above and edit your question, putting the code, not images. Consider visiting the [help]

  • On the line where data : {texto : 'texto'}, shouldn’t be data : {texto : $('#texto').val()},

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.