Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

FireFox 7.0.1 will not send POST to next page (used to work, works fine in Chrome)

  • 1 απάντηση
  • 5 έχουν αυτό το πρόβλημα
  • 6 προβολές
  • Τελευταία απάντηση από wuifje

more options

Sending Form <form action="products.php#Not Applicable" method="POST"> <input type="image" name="fave" value="400000" src="images/Fave.png" width="60" height="36" /> Faves: 4 </form>

Receiving PHP if (isset($_POST['fave'])) {

$fIndex = $_POST['fave']; $voteQuery = "UPDATE `resinetiquette`.`products` SET vFave = vFave + 1 WHERE `index` = '{$fIndex}'";

}

Web Console does say POST, and the page refreshes like it's supposed to, but MySQL never recieves the data. It will query the database fine.

It used to work in older versions of FireFox, works in Chrome, but also fails in IE9 (not that I'm surprised).

Sending Form <form action="products.php#Not Applicable" method="POST"> <input type="image" name="fave" value="400000" src="images/Fave.png" width="60" height="36" /> Faves: 4 </form> Receiving PHP if (isset($_POST['fave'])) { $fIndex = $_POST['fave']; $voteQuery = "UPDATE `resinetiquette`.`products` SET vFave = vFave + 1 WHERE `index` = '{$fIndex}'"; } Web Console does say POST, and the page refreshes like it's supposed to, but MySQL never recieves the data. It will query the database fine. It used to work in older versions of FireFox, works in Chrome, but also fails in IE9 (not that I'm surprised).

Όλες οι απαντήσεις (1)

more options

I have the same problem. I do not know the answer, but I do know that the image causes the problem. If you do not use images, but plain text it'll work.

With Chrome it still works.

Regards,

Wuif