Questions tagged as 'php'

1
answer

Big problem with PHPMailer, I can not get it to send emails [attached error]

I'm running a script that sends emails, but I can not get it to work. This is my code. Any comments?: <?php // Import PHPMailer classes into the global namespace // These must be at the top of your script, not inside a function use PHPMa...
asked by 22.02.2018 / 15:28
2
answers

Pass data between windows

Good morning friends, I have the following question: can you pass data from a daughter window to a parent? I already know that you can pass data from a father to a daughter through ajax, but how do you do the opposite? It's something like...
asked by 21.02.2018 / 21:22
2
answers

Error installing composer in symfony project 2.8

How to install composer in a symfony 2.8 project with php 5.6? here's my composer.json . { "name": "SIIG/eTAB", "description": "SIIG/eTAB", "autoload": { "psr-0": { "": "src/" } }, "require": { "php": ">=5.3.3", "symfony/...
asked by 05.12.2017 / 16:43
1
answer

Problem when modifying data - Update PHP + AJAX + JQUERY

Good morning people, again with a problem. I have a news system implemented. When listing the news and click on the EditNoticia button. The news appears with all the fields to edit along with an input "file" that if a news item is edited, toge...
asked by 15.11.2017 / 10:48
1
answer

get mysql data and send it by php to an email

my problem is this I have this code ' if (!empty($nombre) && !empty($correo) && !empty($mensaje)) { $nombre = trim($nombre); $nombre = filter_var($nombre, FILTER_SANITIZE_STRING); $correo = filter_var($correo, FILTE...
asked by 16.11.2017 / 18:36
2
answers

Place field that can be left blank or not

I have a couple of fields in mysql that I want them to be blank but I miss the error that I have to enter them and the problem is that they will not always be blank this is the insert of the data $Nombre = mysqli_real_escape_string($con,(st...
asked by 16.11.2017 / 15:02
1
answer

Insert in Mysql does not execute

When I want to insert information into my database, it does not run: $sql_in = "INSERT INTO solicitudes(codsol, nro, fechacrea, rutus, banco, tipocuenta, nrocuenta, actividad, lugar, fechaact, proveedor, rutprov, factura, rex, listado, ordenco...
asked by 16.11.2017 / 09:00
4
answers

Assign value to hidden div

I am a newbie and learning new things, I would like them to help me solve my problem, I am working with 3 different radiobuttons and when selecting a certain radio a hidden div appears: the radiobuttons are called like this: monthly_payme...
asked by 16.11.2017 / 15:52
1
answer

Error Php Comments

Hi guys, I have this little mistake, they could help me solve it. if ($conexion) { $resultado = mysql_query("SELECT id, usuario, fecha, mensaje FROM comentarios ORDER BY id DESC", $conexion); while ($fila = mysql_fetch_row($resultado))...
asked by 10.11.2017 / 22:38
1
answer

How to pass jquery content from one variable to another to be sent by ajax to a php document?

I have the following code proceso.js (function ($) { $.fn.Carpeta = function (options) { var defaults = { codigoI: false, }; this.each(function () { var crear = $(this); if (options.input) {...
asked by 14.11.2017 / 19:09