Questions tagged as 'php'

0
answers

search button does not work

I have a page where there is an input text and a search button. And in another file I have the collection class that stores the necessary methods. When they press the button, I call the class method to look in a matrix and show in a table if the...
asked by 28.09.2018 / 15:01
0
answers

Error in apache logs (BitExchange - crypto exchnage script)

I have installed the BitExchange script. I am in the admin panel and I am trying to save changes but they are not saved. The page is reloaded but the changes are not saved: The apache errors log is this:    [Fri Sep 28 14: 46: 59.559379...
asked by 28.09.2018 / 13:54
1
answer

Edit data from a sql table in a table in html

I only have one question. But first, thanks for the help in the previous question. Is there a way to edit the sql data in an html table? I already managed to make them appear, what I want to do now is that they are editable and the changes ar...
asked by 28.09.2018 / 15:12
0
answers

how long should the mail () function take to return the response

I am sending emails and it takes me between 8 to 9 seconds to return the answer, I did the following: I ran the benchmarks modify the content of the mail The only thing that delays is the answer, how could it be optimized? (taki...
asked by 27.09.2018 / 20:44
0
answers

how to order these twelve menus in columns of 4

How could I order my 12 menus in columns of 4 my code is this $men1=0; if ($men1==0) { echo'<ul>'; echo'<li>'; foreach($Menu as $key => $value){ $men1 ++;...
asked by 27.09.2018 / 20:24
1
answer

Print random field from a database

I have a small problem I have a functional code which generates a random word $codigo = mysql_query("SELECT * FROM palabras WHERE categoria='b'"); mt_srand(time()); $max = mysql_num_rows($codigo); $rand = mt_rand(1,$max); $obtener = mysql_qu...
asked by 28.09.2018 / 04:13
1
answer

ERROR: Call to a member function paginate () on array

The query if it comes out in the base what does not come out is already in the part of the paginate (); I get error Call to a member function paginate () on array $usuario=DB::select('select a.id,cedula, a.name, a.apellido,a.usuario_creo,email...
asked by 28.09.2018 / 10:00
0
answers

Problem with Safari is solved if I use Web Inspector from a Mac

I have 2 problems; The first is that in a website that I am creating, when the user uploads photographs, I take them with a javascript function and convert them to a base64 string, and then pass them to the server more quickly, and convert them...
asked by 28.09.2018 / 11:43
1
answer

Validate user Active Directory on external server

I have an application in php and I need to validate the login against an Active Directory server, that I have already done when the two servers are local, but in this case they are not and they do not open an Active Directory server port for sec...
asked by 28.09.2018 / 09:36
0
answers

Error in preg_replace, PHP

I am using this line of code: $routerPattern = "#^" . preg_replace('/\\:[a-zA-Z0-9\_\-]+/', '([a-zA-Z0-9\-\_]+)', preg_quote($route)). "$#D"; In my PHP code for a program, this function must use regular expressions to find this char...
asked by 26.09.2018 / 18:50