Questions tagged as 'php'

3
answers

Netbeans: warning message

I have a warning message that tells me that the method is 23 lines and in parentheses says (20 allowed) I do not understand why this message, / p> What does this mean? How do I disable this warning?     
asked by 04.09.2015 / 15:51
2
answers

Why does not the array value 1 appear in the explode?

When I create the code: $urlAtual = "https://www.meusite.com.br/customer/account/create/"; $parteurl = explode('/', $urlAtual); for($i=0;$i<=6;$i++){ $parteurldesejada = $parteurl[$i] . "<br>"; echo $parteurldeseja...
asked by 17.07.2017 / 19:25
2
answers

Separate the value from the string

Colleagues. When calculating cart shipping, it is returning as follows: Iwonder,howdoIgetonlythevalue24.90?Well,Imustaddtothevalueofthecart.Seethecodesbelow:PHP$parametros=http_build_query($parametros);$url='http://ws.correios.com.br/calc...
asked by 17.03.2017 / 19:50
1
answer

Check for data in column [closed]

How can I check if there is data inside a column in a table? I want to do a check and if there is data in the column it displays a div . I know mysql_num_rows to add up the data that was fetched, but I wanted to know if it has...
asked by 24.10.2015 / 03:51
1
answer

Identify objects in an image with javascript / php [closed]

Is it possible to identify objects in a given image with Javascript or PHP? Facial recognition I know what it has, and how would it look like other objects?     
asked by 19.06.2015 / 20:57
2
answers

Geolocation + Ajax + PHP - what am I doing wrong?

<body> <script type='text/javascript'> var lati = ''; var long = ''; var cidade = ''; var estado = ''; var pais = ''; var dadosajax = ''; navigator.geolocation.getCurrentPos...
asked by 17.05.2016 / 20:58
2
answers

How to update the PHP version in WampServer?

Does anyone know how to upgrade the latest version of PHP in WampServer?     
asked by 10.03.2014 / 03:15
1
answer

What is the difference between array_replace and array_merge?

I would like to know the difference between array_replace and array_merge , because in some cases the two seem to have similar behaviors. Example: $informacoes = ['nome' => 'wallace', 'idade' => 36]; array_replace($i...
asked by 01.04.2016 / 13:47
1
answer

Use CONCAT to adjust the amount of php mysql numbers

I need to complete the amount of numbers to display on the screen, what would that be. the quantity that would be an example: 20 need to enter 15 characters with 0, Example: 000000000000020 . A friend of mine showed me in Excel a way he...
asked by 03.05.2016 / 20:45
3
answers

How to put the value of a PHP variable inside an input?

How to put the value of a variable (already computed in PHP) within an input ? <form method="post" action="calculos.php"> <div id="circulantes"> <div class="ativocirculante" id="ativocirculante"> <h2>ATIVO...
asked by 02.10.2017 / 13:54