Questions tagged as 'php'

1
answer

Turn into ul

Hello, how are you?
asked by 06.05.2018 / 22:47
1
answer

PHP: How to convert a number into a string? [duplicate]

I have an application that generates a PDF receipt. But in the bank the values have to be converted into words BD | PHP 10 | TEN 15 | QUINZE 7 | SEVEN Is there a function that returns the string of a number in php?     
asked by 07.11.2017 / 14:13
1
answer

What does the depth parameter of the json_encode () method mean?

Sometimes I noticed that docs suggests that instead of using the \json_encode() native method of PHP, it suggests using a method of a class for requests that apparently does the same thing \GuzzleHttp\json_encode() , but giving a ha...
asked by 07.11.2017 / 13:37
2
answers

How to solve jQuery ids problem?

I have two forms almost identical, one for physical and another for legal entity and these forms are hidden and appear as the result of a jQuery().change that determines if it is the form for the individual or legal entity to be used....
asked by 21.10.2014 / 17:07
2
answers

Adding values from selected input's into another input

I have for example 4 input , each input has a specific value ex: *input com os valores <input type="radio" value="1"> <input type="radio" value="2"> <input type="radio" value="3"> <input type="radio...
asked by 10.10.2014 / 01:07
2
answers

Go through dates by printing a field for each one

I'm making a system a bit like a calendar / schedule. In it I have a semestre table that has a data de incio field and a data fim field and I need to scroll through those dates by printing the name of each day in the head...
asked by 25.10.2014 / 22:20
2
answers

Remove filter only for pages

I needed to create a filter to print the name and email of users within the posts ( the_content ) they created. The problem is that it is showing in the posts and also in the pages, I wanted to show only in POSTS, I tried it and it did...
asked by 18.10.2014 / 17:56
2
answers

Difference between null, empty, 0 and false by picking up the record in the database

I just saw an article showing how to change the null to false and 0 as well, but I'm not sure how to do that when an information is in my database and it's type 0 and 1 and I wanted it for yes or not your assignment. <label><h...
asked by 08.10.2014 / 19:47
1
answer

Datatables getting shrunk at startup

I have 2 datatables on a page, only one of them is starting to shrink, as you can see in the image below. What do I need to do to start correctly? <!DOCTYPEhtml><htmllang="pt-br"> <head> <meta charset="utf-8">...
asked by 04.01.2018 / 18:51
1
answer

Doubt about the echo within a loop

I have this code for an API test and I wanted every loop end to write it on the script progress screen in%, but it only shows when it finishes doing everything, is there any way to make it work? . <?php require __DIR__ . '/vendor/autoload.p...
asked by 20.01.2018 / 03:29