Questions tagged as 'php'

2
answers

problem with decimals and thousands

I have this edition for an update, where the value is a decimal number with 15.2 (fifteen whole digits and 2 decimals) and replacement comma (,) by period (.) to add it to a database. include ("connection_upload_csv.php"); if(isset($_...
asked by 12.03.2018 / 14:20
2
answers

PHPExcel comment in black

We have been using PHPexcel for a while to fill in some tables from the Database, it has been running for months but lately when writing a comment and modifying the Excel the comment box appears black ... There has been no change of code what...
asked by 28.10.2016 / 08:42
2
answers

Update with MYSQL PHP

I have this code, but it does not update, and I do not know why. <?php // if ($_POST['accemail'] == "" || $_POST['accname'] == "" || $_POST['accphone'] == ""){ // header("Location: myaccount.php"); // } else // { include ("db_files/...
asked by 28.10.2016 / 12:48
1
answer

Access values sent by HTML form in PHP

Sorry if I make an error, but I'm new to this forum. I want to make a decision in a php block using a value of a select. <?php $act = $_GET["act"]; $save = $_GET["save"]; if($act == 'agregar'){ if($sav...
asked by 12.01.2017 / 07:40
5
answers

limit daily records

I have edited this post to see if I can understand I'm trying to make an insert so that only allows 3 records to enter per date, I mean 2017-02-12, to this date there can only be three records, for a new record you should try another day or bett...
asked by 11.02.2017 / 21:25
2
answers

Collect variable localStorage AJAX from PHP file

My question is whether it is possible to collect a variable in localStorage from PHP without sending it. I intend to collect data in a query where I activate an option in a list and send a form but I want to determine if the user is logged in...
asked by 14.11.2016 / 17:39
2
answers

someone knows why the json does not print

$from $to = 20; $query = "SELECT idempleados,nombre,apellidos FROM empleados LIMIT ?,?"; $result = $mysqli->prepare($query); $result->bind_ param('ii', $from, $to); $result->execute(); /* bind result variables */ $result->bind_result...
asked by 28.10.2016 / 15:28
3
answers

Xampp does not load project laravel

I have the project laravel on a mac with OSX the captain with php artisan . The project runs without problem, but for personal reasons I want to use the apache of xampp instead of artisan server then when I try to load the index.blade.php i...
asked by 10.10.2016 / 06:08
2
answers

Absolute URLs with PHP

I explain my problem, it's simple, I've solved it, but only locally, it does not work for me if I use this on a normal server. I modified my .htaccess for friendly URLs, the issue is that I have problems with file paths ( css , images ,...
asked by 14.10.2016 / 20:45
1
answer

Preload SOAP in PHP

I am using a webservice in which I make the SOAP connection in PHP. The problem comes when, on the first call, sometimes the data is not retrieved and you have to click again on the query button to view them. Is there a way for this connec...
asked by 03.10.2016 / 08:34