Questions tagged as 'php'

1
answer

Fullcalendar Javascript Events with PHP

How do I save the drags between days or drag hours? How can I do that when I click on a day it opens a registration page with the day I clicked selected so that I can enter a description and the start and end time? My events are all in a...
asked by 18.05.2015 / 19:30
1
answer

FullCalendar does not display the event according to the time

I'm working on a project with FullCalendar, and I'm not able to correctly display the events at their respective times. Food the calendar with a Json (system in PHP): [ { "id":"13", "title":"Varredura no sistema - Verificar falh...
asked by 22.06.2017 / 21:10
1
answer

what is the purpose of these functions prefixed by "msg_" in PHP?

As I mentioned in my previous question about traffic lights , I came across a question regarding #, because when the response author quotes about Semaphores , he references that documentation link where we have several functions in PHP with...
asked by 08.06.2017 / 19:01
1
answer

How to load information from a DB into the form?

Hello, everyone and good afternoon! I am going to explain my problem to you and stress that I would like you to solve only with PHP, but almost sure you need another language. I would like in a form, in a tag to have options with names of com...
asked by 06.04.2017 / 23:34
1
answer

Datatables processes only one request

So, I'm making a custom selects system with the datatable, but the request only processes once. Example of my php, js and html <div class="input-group has-feedback" id="divCidade"> <div class="input-group-addon"> <...
asked by 31.03.2017 / 20:26
1
answer

Customize List within Admin Panel - Wordpress

I'm in a project, which I need to make some changes exactly inside the Wordpress panel. More specifically on a page that lists a specific post list. I need to add a custom search field with a specific field. I also need to add a few more c...
asked by 04.04.2017 / 19:41
1
answer

How to include generated php file in mpdf

I'm using the mpdf library to try to display in pdf a file created in php but I'm having trouble doing the same thing, I think the way I'm trying is not the correct one. The file php contains php and html...
asked by 04.04.2017 / 21:17
1
answer

How to find a string based on a group of regular expressions

I'm trying to create a Template Engine in PHP for study reasons. Suppose I have the following array : $regexList = [ 'varPattern' => '/{{\s*\$(.*?)\s*}}/', 'loopPattern' => '/@for\((.*?)\)\s*{{((?:[^{}]|(?R))*)}}/', 'statemen...
asked by 24.05.2017 / 14:09
2
answers

How to round number?

I need to use the following rounding logic: Numbers between x.1 and x.9 will be rounded to x.5, ie, you would use examples like this: 1.0 = 1; 1.2 = 1.5; 1.9 = 1.5; Any ideas on how to do this? I tried to find a PHP function ready but I...
asked by 02.06.2017 / 17:11
1
answer

Validate PivotTable Summaries in JavaScript

I have a question about validating sums of PivotTables. I have 2 inputs one with the value with iva and another of the value without VAT. I have a PivotTable where I enter billing periods. When you put the total value with viva it has to add up...
asked by 06.03.2017 / 12:38