Questions tagged as 'php'

0
answers

the file_put_contents function does not work ... from php

Hello, good night, I would like to know why I do not believe the file gente.txt ? I was told that it may be permissions to create or edit files, but how would that be in wampserver? Thank you very much here I put the code. $fichero = 'gente.t...
asked by 24.08.2018 / 01:30
1
answer

how to show images that I have in a database

such friends I ask for your help, I have a table in my database where I save the images and I want to show them on my html page, but when you show them they are arranged horizontally in a row, instead of showing them down $query = mysqli_query...
asked by 24.08.2018 / 02:14
2
answers

mysqli_query empty

I have the following problem when doing a mysqli_query. When I do it with a variable in the SQL statement, it returns 0 records, but if I change the variable for a record in the table, it works for me. I attach the code. (It does not give any ty...
asked by 29.08.2018 / 02:58
0
answers

Take the value of a select in a modal and a query

a few days ago a partner helps me to transfer the data from a table to a modal, in them there is a select that receives the status according to the value they have and they are selected. Well but now it is more complicated, I carry the name that...
asked by 24.08.2018 / 10:15
1
answer

Receive a notice when someone leaves a comment on my website

I have this code, which is a form to leave comments on my website. I would like to know if there is any way to get that by adding something else code I can get a notice to my email when someone leaves a comment on the web. The code that I leave...
asked by 29.08.2018 / 00:28
0
answers

Answer Bot Telegram

I want my bot to receive the user's response to a question made by the bot itself and continue with the execution of that function without starting the execution again when receiving a message. The command I send is / vehicle route to call...
asked by 29.08.2018 / 03:27
0
answers

Take the value out of an input id

I am passing data from a table to a modal to edit it, all this happened: So I send it to the modal: <td class="otrotdfgaz" id="Producto<?php echo $res['pedID']; ?>"><?php echo $res['producto']; ?> <?php echo $res['ali...
asked by 29.08.2018 / 09:18
1
answer

Tour Array in Laravel

I'm going through the following array: $register = array_values($array); foreach($register as $key => $value) { $var = explode('"', $value[0]); $transfer = new Transfers; $transfer->date = Carbon::CreateFromF...
asked by 21.08.2018 / 11:22
1
answer

library error: tcpdf Some data has already been output, can not send PDF file

I'm having an error in my code <?php require_once "../../controllers/gestorsuscriptores.php"; require_once "../../models/gestorsuscriptores.php"; require_once('tcpdf_include.php'); $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAG...
asked by 20.08.2018 / 19:59
1
answer

Select from 3 tables mysql

I have a query that already brings information from 2 tables, but I need to add to the statement that brings me information from the table called locales to bring the name of the place that is identified with id from the table equipos...
asked by 23.08.2018 / 09:31