Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using javascript with PHP

 
Jim Robson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I have a form which sends data to my database and it works well in all PHP, but I want to add a popup result and someone suggested javascript. When I use the javascript it does the popup real well but the results do not go to the database. Could someone please look at my code to see where the problem is? Thank you. I'm sure someone will let me know if this is the wrong forum for this type of question

 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java != Javascript

You could try it here
 
Jim Robson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh... sorry.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read ItDoesntWorkIsUseless.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic