Questions tagged as 'php'

1
answer

Validate google api key

I'm making an application, where I'll have to validate a google maps API key. The problem is that I do not know what patterns it follows: AIzaSyA-OlPHUh2W7LUZXVjQjjxQ8fdCWdAASmc Here you can see that they are uppercase and lowercase, numbe...
asked by 20.07.2016 / 15:09
1
answer

Update only the records marked with a checkbox at once php

I have a select that brings a series of records. Here, in these records I need to apply an up and that in my head, the best way would be to use a checkbox field, so that when the user marks the checkbox and then clicks the "submit" button, only...
asked by 07.11.2017 / 00:58
1
answer

looks for PHP / MySQL with JavaScript returning data for HTML

I am putting together a search page where in the HTML page a search button when clicked calls a Javascript function that passes the typed content to a php page. This page in PHP should connect to the database, fetch what was typed and return som...
asked by 31.03.2016 / 15:06
1
answer

Finding array keys from a vector

I have an array where the indexes "parents" are not indexed with underlines and the children are. Every time a parent receives a child, all other parents also receive a child. Example we have 2 children: array( x = array() x_1 = array()...
asked by 31.03.2016 / 03:57
1
answer

Date is not "white" sql-srv

I have a column in the database type date . WhenIchangesomedateinaformphpandleaveitblankthesameinsteadofbeingblankitbringsmebacktodatewith1900-01-01.BelowistheinputIusetochangethedate.DateOutput:<inputtype="date" id="saida" name="sa...
asked by 05.04.2016 / 14:49
1
answer

pass variable javascript to catch with post in php

Good afternoon, I found numerous ways to pass javascript to php but no way worked. I thought of a way but I do not know how to effect it, I saw that with ajax would be the only way I think, what I thought was. I have an information in localst...
asked by 05.04.2016 / 18:40
1
answer

automatic fill in input with jquery php

I would like to convert this code to jquery. To say. Instead of appearing in the iframe, I would like it to be a single page normally, and the insertion would be without refresh. $.post("resultado.php", function(result){ $("#id")....
asked by 25.03.2016 / 05:02
1
answer

Connection test with PHPMailer

Working with PHPMailer at one time, I'm now inserting you into a more complex Content Manager and through the panel the person can insert multiple emails to be the PHPMailer Sender in several situations (for example: contact email, password reco...
asked by 01.04.2016 / 10:23
1
answer

Cache on server

I have a system that holds more than 2000 clients and it keeps growing, and every time they do a search, they call mysql with more than 20,000 items (and that number also keeps increasing), would it be possible for me to have one cache or do som...
asked by 10.02.2016 / 13:16
1
answer

How do I add multiple phones to the same form dynamically?

I'm studying PHP and SQL and I'm building a system so that my mother can better manage all the clients who use the transport service she provides. I built a simple registration page with the necessary information, and would like...
asked by 01.02.2016 / 17:51