Posts by ECJ • 131 points
3 posts
-
3
votes3
answers909
viewsA: Dropdown-menu Bootstrap with PHP
If you do so (just one example), you can send everything in a page.php-only request: <div class="btn-group"> <button id="drop" class="btn btn-default dropdown-toggle" type="button"…
-
2
votes3
answers909
viewsA: Dropdown-menu Bootstrap with PHP
Luis, the way to take the value of the attribute, as André Ribeiro passed, is correct. The error seems to be in the way you are constructing the "option data" from Jquery.ajax. Remove the quotes…
-
5
votes1
answer230
viewsA: Email in PHP does not work
Buddy, there’s a mistake here: $msg = $_POST['message']; The tag’s "name" attribute is "comment", not "message". Leave the variable like this: $msg = $_POST['comment'];…