Questions tagged as 'php'

1
answer

get a value from one array inside another (more complex)

I have an array that contains another array like the following: And I need to get the value of [extra] , but the array can have more than one [#] I also need to differentiate them, I have some breaking my head and can n...
asked by 12.11.2018 / 19:24
0
answers

How to shade a province or district on my Maps with PHP-Javascript

I have a code that shows me the point I am requesting (with its latitude and longitude), but what I would like to know is that if you can shade a particular province or district, and of a particular color: <!DOCTYPE html> <html>...
asked by 12.11.2018 / 20:18
1
answer

Remove object from a PHP array

{ "success": true, "response": [ { "idseparacion": "1", "idcalidad": "21", "peso": "500", "cajas": "50", "restante": 100 }, { "idseparacion":...
asked by 12.11.2018 / 20:01
1
answer

Create a slider with values collected from a PHP API

The fact is that I am collecting the values of an API in the form of a list. The UL is outside the value that runs through the API array and within the array are the list elements that I collect. Each value collects me a div and places it horizo...
asked by 12.11.2018 / 16:02
0
answers

Generate RTF with PHP

I have the following code, which works perfectly, just that I need that when executing, this gives me the option of where to save the generated document. I have been reviewing the documentation and some examples on the Internet, but I have not b...
asked by 12.11.2018 / 17:14
1
answer

Insert line break in SQL SERVER from PHP

I execute a SQL SERVER statement from PHP, and I need you to have a line break, since the SQL SERVER system requires them. PHP code: $QueryTable = "IF NOT EXISTS (SELECT * FROM sysobjects WHERE name='$NombreTabla' AND xtype='U') CREATE TAB...
asked by 12.11.2018 / 18:32
0
answers

how to modify the radius of a google maps circle with a horizontal-slider?

I have a horizontal slider in my index: <label> <br><div class="slidecontainer"> <input type="range" min="100" max="1000" value="1000" step="40" class="slider" id="myRange"> </div> 100 - 1000 mts</label>&l...
asked by 19.11.2018 / 02:39
0
answers

Change div within the same html

I'm doing a page with forms, and maybe it's one of the easiest things but I can not find documentation to do it, I explain, the page has a form on the left, and I want to get the form to fill in the form in a php document that I have inside a...
asked by 18.11.2018 / 19:58
0
answers

erroneous behavior of the knp paginator bundle

I have two queries dql which I am paging with the knp paginator bundle. One for a generic search and another for the advanced search. public function returnGenericSearchData(Request $request) { $em = $this->em; $container = $this-&g...
asked by 13.11.2018 / 15:25
1
answer

Error uploading images in laravel to database

I'm trying to upload an image to the database from a form This is my view {{ Form::open(array('url' => '/saveAbsence'), ['id' => 'absenceForm'], ['enctype'=>'multipart/form-data']) }} {{Form::file('cover_image')}} {{Form::close()}}...
asked by 13.11.2018 / 13:27