Questions tagged as 'php'

1
answer

Change icon mark of google maps API

I have a map with custom markers taken from a MySQL database. With this code inserted inside the variable locations the coordinates directions of my table. var locations = [ <?php foreach ($rows as $row) { ?>...
asked by 19.09.2018 / 10:15
1
answer

Passing parameters in onclick of a cell

I do not know if it can be done in this way. On my main php page, I load using a loop rows in a table. In one of the cells I have some coordinates, which I need to pass through GET to the mapita.php file. In this loop charge 4 variables, var1 /...
asked by 18.09.2018 / 13:49
1
answer

Show only the current user profile image with PHP

Good morning. Someone will know by chance how I can show only the current profile image with PHP Currently I have this like this: $path = "files/".$id; if(file_exists($path)){ $directorio = opendir($path); while ($archivo = readd...
asked by 04.09.2018 / 21:12
2
answers

Response of an echo in a div ID

Good I'm doing a login and I would need the echo that responds to me that does not exist that user or password show me in a div inside the form instead of an echo. resupuesta.php <?php require('conexion/conexion.php');...
asked by 05.09.2018 / 05:16
1
answer

How to pass variables by link and GET method with resource routes Laravel

I have a question, I am working on a project and I need to send a variable that contains an ID to my create method or that simply passes me the url, for that I am using resource type routes: Route::resource('encuestaspy/participar', 'Users\Res...
asked by 04.09.2018 / 19:51
1
answer

Get input type data with php

Can someone help me get data from an input type date?; <form id="Formulario" method="post"><br> <label style="display:block; overflow:hidden;">Fecha de nacimiento</label> <input type="date" id="fecha" name="F...
asked by 05.09.2018 / 04:21
1
answer

Doubts in PHP and SQL Ready Queries, SELECT Statement and Show Data

I try to update some systems that I have created, in which I try to add consultas preparadas to improve mainly the security. I'm trying to do a SELECT and it's not clear to me how I could go through it. $sql = "SELECT * FROM c...
asked by 08.09.2018 / 13:46
1
answer

Error with Google PHP reCaptcha

I am placing the reCaptcha in my contact form but every time I send it, the FALSE returns to me: $google_url="https://www.google.com/recaptcha/api/siteverify"; $secret='xxxxxxxx'; $ip=$_SERVER['REMOTE_ADDR']; $url = $google_url...
asked by 24.08.2018 / 13:10
1
answer

Uncaught TypeError: $ .confirm is not a function with Socket

I'm doing a shift system with% native% co in which I'm using a php that is called librería in which from the part where the appointment is scheduled works well, since after that saves, shows an alert with the library of fancyweb...
asked by 24.08.2018 / 15:25
1
answer

Is it possible to send a FORM, generate a CSV and send it to a folder?

I have been investigating for a few hours now, and I have not been able to find much useful information. With which I refer here to see if I can find help. I have a form, that I work with jQuery, with what I have stored all the variables...
asked by 30.08.2018 / 09:13