File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Using javascript with PHP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Using javascript with PHP" Watch "Using javascript with PHP" New topic

Using javascript with PHP

Jim Robson

Joined: Feb 02, 2010
Posts: 2
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

Joined: Oct 25, 2008
Posts: 2700

Java != Javascript

You could try it here

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Jim Robson

Joined: Feb 02, 2010
Posts: 2
Oh... sorry.
David Newton

Joined: Sep 29, 2008
Posts: 12617

Please read ItDoesntWorkIsUseless.
I agree. Here's the link:
subject: Using javascript with PHP
jQuery in Action, 3rd edition