Questions tagged as 'php'

2
answers

How to persist / fill the data of a form via PHP?

... /busca?tipo%5B%5D=APARTAMENTO%2FAPTO+DUPLEX&area_de=50&area_at=100 In this URL I have 2 data types: type that is checkbox APARTMENT FIT + DUPLEX area_of which is select 50 area_at which is select...
asked by 01.11.2014 / 22:56
2
answers

How to insert the elements of the array X into an index of the array Y?

I have the array y where in its index 0 has the values App and Views array (size=1) 0 => array (size=2) 0 => string 'App' (length=3) 1 => string 'Views' (length=5) No x I have a...
asked by 14.07.2016 / 18:55
2
answers

Function Percentage in PHP

How to do a percentage function. In that it calculates the td or the equal table of Excel to give the percentage. I want to calculate the percentage of a value in PHP, for example 10% of 100, type Excel DADOSx100=% and calculate...
asked by 29.11.2015 / 02:50
3
answers

Data types in SQL Server 2012 and HTML forms with PHP: date and monetary values

How can I put a mask in an HTML form in the date and monetary value fields, then send that data to the database without having to convert the strings to types date and money ? I explain: I have a form with date mask in DD/M...
asked by 08.12.2015 / 10:54
1
answer

Capitalize string with accented characters

I have a problem saving words with accents in MYSQL. My bank is all set to ut8_unicode_ci and my php pages have <meta charset="utf-8"> . This solved my initial problem with accents, but I wanted the data to be saved in t...
asked by 26.10.2015 / 11:35
2
answers

An application for several clients with Laravel [closed]

I'm creating a project for a web application for multiple clients using Laravel . In my project this application would have several databases, one for each client. Searching the internet, I saw that over time it would be complicated to maintain...
asked by 08.12.2015 / 14:36
2
answers

Error Parse error: syntax error, unexpected 'mysql_query' (T_STRING) [closed]

Well I'm trying to do a "PHP and MySQL Registration System" I did this following all the instructions passed to me but at the time of the result it returns the following message.    Parse error: syntax error, unexpected 'mysql_query' (T_STRIN...
asked by 02.06.2015 / 01:36
2
answers

Problem with access limit by refresh account JAVASCRIPT

Is there any way to return updated direct server data in HTML without using setInterval , setTimeout these things? Because these functions are getting rid of the server .. Every time it refresh it is as if it were having one m...
asked by 14.07.2015 / 16:06
2
answers

Fill Second Input automatically when filling the First

I have a input that I'll give the name of input-1 , and there I'll insert this: 12:00 When I have a second input that I am going to give the name of input-2 , it is possible to insert in input-1 : 12:...
asked by 23.04.2015 / 01:10
2
answers

Hide Div after x seconds after performing action

Good morning, people, I have in my home a field to consult CPF. The field has only a text field, where I inform the CPF, if I find any cpf in the database, it returns some data to me. I submit the form with ajax, not to reload the page, in th...
asked by 12.06.2015 / 14:49