Questions tagged as 'php'

2
answers

How do I describe data in a laravel blade?

I have a data that comes from the encrypted controller, this with the intention that the user does not see a data that I bring from the controller, I do not know if there is another way to do this. The data is encrypted as follows: $valores...
asked by 30.07.2017 / 01:58
1
answer

How can I insert data from an xml to mysql with php?

What happens, generate a .bat that will collect the data of my cpu and the data will be geared to me in an xml format with the following code wmic cpu get /all /format:rawxml.xsl >cpu.xml and I generate the following xml <COMMAND SE...
asked by 30.07.2017 / 00:38
0
answers

Do not save the photo on the server with the selfie camera

I'm doing an app in android on a form that saves an image ... there is a button that redirects you to the gallery to put it as a profile photo ... the images that have been saved with the front camera if you save it on the server ... but I have...
asked by 08.03.2017 / 20:38
0
answers

F3 - Download CSV generated with PHP in AJAX [closed]

I have a web application that generates a CSV from a query to a BD, which I want to download, I am calling the route that generates the file through an Ajax request, but I have no idea how to download it. file. $.ajax({ type: 'POST', u...
asked by 20.12.2016 / 18:47
1
answer

I am implementing this query correctly with PHP? [closed]

Am I implementing this query correctly with PHP? I have already reviewed the connection data and they are correct, I propose my query based on the official documentation of PHP, however I do not obtain the expected result, in advance I thank...
asked by 19.12.2016 / 17:11
0
answers

How can I get the id in the modal window? [closed]

How can I get the id in the modal window? var items = [ <?php while($reg= mysql_fetch_array($order)){ ?> { id: <?php echo $reg["id"]; ?>, title: '<?php echo $reg["titulo"]; ?>', }, <?...
asked by 19.12.2016 / 21:12
1
answer

Report in CodeIgniter, Foreach problems (Align td with th)

I need to generate the table that I show in the image with the headers above. I have problems when I want to accommodate the operations of the employees according to the headings. Fix my problem with the spaces, the problem is that they do no...
asked by 15.12.2016 / 17:22
0
answers

How to enter 4 data to an array in php by keyboard, compare and know which is the largest? [closed]

How to enter 4 data to an array in php by keyboard, compare the first data with the second and tell which of the data is greater, then compare the third data with the fourth and also know which of the two is higher? help i'm new to php     
asked by 18.12.2016 / 12:14
0
answers

Get number of weekdays of the month in PHP (without weekends) [closed]

How can I get the number of days of the month without Saturdays or Sundays in general for any month? Example: December = 31 days Saturdays and Sundays of the month = 9 days    31 - 9 = 22 days. With an "echo" to show it...
asked by 15.12.2016 / 22:30
3
answers

How to change the field color to the repeated elements shown in a table

I need help to change the color of the rows of a table on the page only as long as the policy number and name are the same. The table already has a style but it is only necessary to change the color of the client and policy field if the item is...
asked by 04.01.2017 / 22:38