Questions tagged as 'php'

1
answer

PHP Mail | Form emails do not arrive to my mail server

I would like to know if there is any way to get mail sent from a form to an email from my company. I tried with my gmail mail and it works correctly. But I send from another email and they do not arrive ... My form: <form method="post...
asked by 13.08.2018 / 15:19
2
answers

Searcher in JQuery, Ajax and PHP (Error)

I try to create a search form in the following way: By default, the order history appears: $(document).ready(function(){ $.ajax({ type: 'POST', url: 'php/cargar_historial.php' }) .done(function(listas_rep){ $('#historial...
asked by 28.08.2018 / 14:38
1
answer

How to send the data of a form to GMAIL with PHP

I need to know how I can send the values that the user completes in a contact form, via PHP to an email     
asked by 29.08.2018 / 16:32
1
answer

Can not register through AJAX

Let's start with my file called "registro_test.php" <?php include_once 'header.php' ?> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script> $(function()...
asked by 23.08.2018 / 15:21
1
answer

How to make an AJAX request to php? (With JavaScript Vanilla)

I'm trying to make an AJAX request to a method in my Brands driver. const filter = () => { let data = {marca:"a"}; fetch("www.algoalgo.com/marcas/marcas/filtro",{ method: "POST", body: JSON.stringify(data) , headers: { "...
asked by 23.08.2018 / 15:11
1
answer

Login with user or with Email with PHP

my query is to know if the following function can be implemented so that the user can log in using both the user and the email the function that I have is the following: function login(){ global $db, $username, $errors; // gra...
asked by 23.08.2018 / 00:45
1
answer

Open modal window before clicking the close button

How can I make a valuation modal skip when they are going to close the session, but of course only one time, I did a test but it always comes out and of course it does not let me close my session. Close session button <li class="nav-item...
asked by 10.09.2018 / 09:53
2
answers

PHP print Value of Select according to variable

I already show the values of my database in my table correctly but I would like that if I select the option with the id = 1 show the information with an echo related to that information, something like this is my code: <?PHP //esto es...
asked by 10.09.2018 / 17:41
1
answer

HTML PHP Multidimensional Array

I need to build a multidimensional array with an html table <!DOCTYPE html> <html> <body> <?php $ciutats = array ( array('Tòquio','Japó','Àsia'), array('Mèxic', 'DF', 'Amèrica'), array('Nova Yo...
asked by 21.10.2018 / 12:08
1
answer

doubt with form in HTML5 and PHP

I have the following form that I create with PHP: echo '<form name="frmCalificar" method="post" action="calificar.php">'; echo '<br>Calificacion:<input type="number" name="txtCalificacion" required/><br>';...
asked by 16.08.2018 / 07:05