Questions tagged as 'php'

2
answers

Export data to Excel using PHP Excel

I'm using the library PHPExcel to export some data from the bank. My problem is for some data types that it places a single quotation mark at the beginning of the number and / or dates ' . In case of date coming from the database w...
asked by 10.03.2015 / 16:56
1
answer

Manual update of PHP Version [closed]

Developed in PHP compatible with the minimum version 5.3.7, and to my dismay, the version that is installed on the Apache server is 5.2.17. How can I manually upload the new PHP version via ftp to upgrade? I researched some things like:...
asked by 06.03.2015 / 12:48
1
answer

PHP authentication OAuth2

I'm doing a Restful web service, is OAuth the best way to authenticate and work with token? Is it possible to use OAuth2 to authenticate via username and password?     
asked by 06.04.2015 / 03:03
2
answers

Google Maps API and Google Indoor Maps

Good afternoon. I work with Network Design and Structured Cabling and developed an application for the mapping of optical fiber with the Google Maps API, which you can see at the following URL: link In brainstorming with the team, everyo...
asked by 13.04.2015 / 22:02
1
answer

Adding multiple items

I would like to know how I can make this my code work to insert data in MySQL multiple. In the first file apply a repetition of 5 items, the problem is that I do not know if I made the right 2 file that is not inserting the data in SQL. I nee...
asked by 08.04.2015 / 07:54
2
answers

Foreach with database records

In my database I have a table called cadastroatendo within this table I put the days of service. I'm retrieving the data through foreach ... which in turn array returns this result: [listaAtendo] => Array ( [0]...
asked by 10.07.2015 / 21:49
1
answer

Make an update of several fields and values in the same table

I'm making a very simple inventory control system, and in the edit part of the products, I'm doing it this way: I query in a database, and clear text fields with the name of the products and the respective quantity , as in the attached image: In...
asked by 15.07.2015 / 00:11
1
answer

Standardization for MySQLi use

I am researching on the use of MySQLi and I have seen many articles, but each one always has some particularities about the pattern of development, my question anyone already set a default? For example something that can be followed with best pr...
asked by 04.03.2015 / 20:09
2
answers

Remove last item from table and reset a new item above first

How would I remove the last item from a table by selecting the recent four. Ex: +-----------------+--------+ +------ ITEM -----+-VALOR--+ +--------------------------+ 1: FulanoA + está online 2: FulanoA + está ausente 3: Fula...
asked by 16.07.2015 / 18:55
1
answer

Language in Portuguese for Date in Joomla, PHP

I'm working with an event module in joomla and when showing the event date the same does in the English language. It has the following code in one of the module files: <span itemprop="startDate"><?php echo JHtml::_('date', $item->p...
asked by 03.03.2015 / 17:10