Questions tagged as 'php'

1
answer

Amiagible URLs with form - submit

How can I use user-friendly URLs? form - > submit I already have the friendly URLs made in the .htaccess, they work! But pressing the SUBMIT button takes me to the normal URL (GET) http://www.mi.web/stats.php?Jugador=Abcedario Bu...
asked by 16.11.2017 / 14:00
1
answer

Failed in json_encode ()

Good morning I have a problem with a JavaScript variable that I'm trying to initialize with a PHP json_encode (), but then when I inspect the code of the page; there is nothing inside the variable, that is, as if there was nothing inside the...
asked by 16.11.2017 / 12:24
1
answer

Help, make consultation with ajax, json, php

Greetings friends, I am currently solving an exercise in which I want to make a query without having to reload the page, for this reason I am using ajax ... But I have been several hours and nothing that I have with the solution, e watched some...
asked by 16.11.2017 / 10:13
1
answer

I get an error when importing csv

hi I'm doing the export and import in php + mysql + csv of a table with several records some 3000 records another 10 and with those of 10 records exports and imports normal, with 3000 or 2000 records exports normal but I do not care and I get th...
asked by 19.11.2017 / 09:51
0
answers

Share news on Facebook

My problem is the following: I added a Facebook share button to my page. But at the moment of doing it, the news does not appear correctly. It appears to me without an image. I used the Facebook content debugger ( link ) to see how it was dis...
asked by 20.11.2017 / 13:42
2
answers

Obtain property values css

I would like to know how I can get values of the css styles, for example the color. <style> .vermellet{color:red;} </style> <script> //.vermellet{color:red;} $(document).ready(function() { $("body").append("<a...
asked by 19.11.2017 / 13:56
1
answer

array of arrays count_values php

How can I apply the array_count_values () function to an array of arrays. Example: Array ( [1] => Array ( [91] => 123 [94] => 123 ) [2] => Array ( [91] => 10 [94] => 13 ) [3] => Array ( [91] => 02 [94] => 1 ) I...
asked by 09.11.2017 / 08:30
0
answers

POO: As a model records / entities associated with other entities?

I am creating a php project with / models (entity classes), / DAO (on which I use this pattern for bd access), / controllers, / services, etc. As it is an educational project, using a traditional OOP approach, I find myself in the common prob...
asked by 24.11.2017 / 20:50
1
answer

Conversion of date saved in date format ('d-m-Y')

I am saving in my Database the date of the record in a field called Date , the input is of type date . It turns out that the data is being saved as follows 2017-11-28 , that's the least of it, the problem arises in which...
asked by 24.11.2017 / 23:02
1
answer

redirect from http with and without www to https

good day, I'm trying as I mention in the title but I do not achieve it, what I want is to go from http either (with and without www) and link a - > link as you could through htaccess this is what I have so far and it works but only wit...
asked by 22.03.2018 / 16:31