Posts by fabricio_wm • 1,090 points
97 posts
-
-2
votes1
answer56
viewsQ: Failed to create array
I’m using php 5.3 with Postgree on a project I’m working on. That way I have to use the array() and not the [ ]. I have a table that I need to send by email but when sending only the last record is…
-
0
votes1
answer107
viewsA: Dompdf does not load information
Solved by adding: $dompdf->render(); Before: $saidaPdf = $dompdf->output();
-
0
votes1
answer107
viewsQ: Dompdf does not load information
I am using PHP 5.4.43 in a Symfony 2.3.36 application and my PDF is coming blank. Solicitacaopdf.html.Twig Test 1 Solicitacaocontroller.php /** * @Route("/solicitacaopdf") */ public function…
-
0
votes1
answer1697
viewsQ: Javascript runtime error: Unable to get the indefinite or null reference style property
I have this mistake below: I am trying to avoid this error by using the check below: $(document).ready(function () { if (document.getElementById('panelActivex') != null) {…
-
0
votes1
answer25
viewsA: How to validate Date and Time to check together if they are larger than the current date and time
Normalized after making the change below via javascript Dischargeformatedit.aspx <gens:GensCustomValidator ID="customValidatorTimeAdmission" runat="server" ErrorMessage="Hora da alta não pode ser…
asp.netanswered fabricio_wm 1,090 -
1
votes1
answer25
viewsQ: How to validate Date and Time to check together if they are larger than the current date and time
Sirs. I am trying to validate two fields (Date and Time) because they cannot be greater than the current date and time. There is a validation on the date but I need to validate the date and time…
asp.netasked fabricio_wm 1,090 -
0
votes1
answer572
viewsQ: How to make dynamic query using select in Laravel
I have in my view a with Dashboard/index. This index has a table and a chart that by default, it brings information of the current month (first and last day of the month). I would like to update…
-
-1
votes1
answer47
viewsQ: Failure to put include on site with wordpress
I have the address of a web radio and I would like it to work on the Wordpress site. I put the code below in my header.php and this radio should appear as navbar at the top of the entire site.…
-
0
votes1
answer64
viewsA: Failed to load Highchart data into Laravel
Normalized after passing date and total on the same variable as row 4 of the code below. const data = [] const total = [] @foreach($dashboard as $db) data.push( ['{{ date("d/m/Y",…
-
0
votes1
answer64
viewsQ: Failed to load Highchart data into Laravel
I’m trying to make a simple chart that displays the Daily Total Sales. <body> <script src="{{asset('onboard/Scripts/highcharts.js')}}"></script> <script> const data = []…
-
1
votes1
answer163
viewsQ: Different checkbox and radio button position in internet explorer
I’m using Bootstrap 4 and the same form is different in IE. The image below is the IE and some elements is maladjusted. The image below is a Google Chrome print is correct. <div class="form-group…
bootstrap-4asked fabricio_wm 1,090 -
0
votes2
answers134
viewsA: How to break a line within a link in Cakephp
It worked by placing 'scape'=> false. This way the Cake link will accept html. <li><?= $this->Html->link('> Dados Básicos <br> > Telefones <br> > Qualificação…
-
0
votes2
answers134
viewsQ: How to break a line within a link in Cakephp
I know it’s not right but I have a situation that I needed to do a line break within the link as attached image. I would like to work with the standard Cake but I had to do the line break by HTML.…
-
1
votes1
answer40
viewsQ: Failure to pass html menu to Cakephp
In the link below I have a Menu working perfectly in Codepen as link below: https://codepen.io/FabricioDev/pen/JOmjEg Beginning of CSS #DPrincipais { display: block; } #TrabalhoRendimento { display:…
-
1
votes3
answers96
viewsQ: How to keep a div always active
I have this example that I need you to always have an active div. It gives way that it is possible to disable the three. <!DOCTYPE html> <html> <head> <style> #myDIV { width:…
javascriptasked fabricio_wm 1,090 -
1
votes1
answer42
viewsQ: Text and image do not change color
I have some buttons that when I move the mouse, the background turns orange but the text and image do not change. Only when I step on the changing image. I’d like you to change it once the div turns…
-
1
votes1
answer16
viewsQ: Image exchange error on dropdown button
Hello. I have a dropdown menu (bootstrap 3.3.7) that has two images that change them via css. When the menu is active the module button should not turn gray but white. This one below is correct.…
-
1
votes0
answers44
viewsQ: How to activate the link according to Slide navigation
I have a slide made with Bootstrap 3 and I need to pass the slide images, the menu stick to the green letters and the outline to identify the navigation, showing where the person is. Today when I…
-
0
votes0
answers22
viewsQ: Error using span in Cakephp
As attached image I can’t use span when I step to the Cake pattern. Can anyone help me, pfv. <div class='col-md-12'> <div class="input-group" > <!-- Span Bootstrap --> <span…
-
0
votes2
answers287
viewsQ: How to write data without Jquery mask using Cakephp3
I have a system in Cakephp 3.4.5 and am using jquery to apply a mask to the cep, Cpf, cnpj and etc. How do I save the data without the mask? I call Jquery in my default.ctp which is in my layout…
-
1
votes1
answer96
viewsQ: How to activate the Insert only when you click the insert button
I have a form that every time it is given post, it is giving error by lack of parameter. I would like to give Insert only when someone clicks on the insert button (hand on the drawing). I thought to…
phpasked fabricio_wm 1,090 -
2
votes1
answer1366
viewsQ: PHP7 does not work with SQL Server 2014
I have a project running in Xampp with PHP 5.6 and SQL Server 2014 Express. I’m trying to migrate the project to PHP 7.1.0 but is giving error as shown below. I copied the dll to the ext folder of…
-
0
votes1
answer1016
viewsQ: PDF does not generate all pages with mPDF
I have a query that returns me 8,093 records both in the database and in a PHP system. I’m making a report using mPDF that regardless of the filter, it only generates 6 pages, which in my opinion,…
-
0
votes1
answer63
viewsQ: Error using two dropdown menus
I have two menus and when I click 1 the 2 are triggered. How am I supposed to fix this? <div class="row"> <div class="btn btn-group pull-right"> <!-- Inicio Menu DropDown -->…
-
1
votes1
answer215
viewsQ: Like query returns nothing when you have more than one word in PHP
I’m trying to make a query using like in PHP and when I use a more than one word. It only works if I just put one word. In SQL Server the query works error-free. <?php function…
-
11
votes1
answer8640
viewsQ: Limit and Offset for Web Paging in SQL Server
I am working with PHP and have about 8000 records currently on DB. As it is for a web page, I need to make a pagination to be able to read the data. From what I understand, I have to do something…
-
1
votes1
answer1093
viewsA: Table about Header and Footer in mPDF
The last four numbers are respectively left, right, upper and lower margin. Each should adjust according to their report. $mpdf = new mPDF('utf-8', 'A4-L',7,'MS Serif',5,5,27,5);…
-
1
votes1
answer1093
viewsQ: Table about Header and Footer in mPDF
I have a pdf generated by mPDF that the table is overwriting my header and footer. I put the code in Gits. insert link description here How to solve this?…
-
0
votes1
answer278
viewsQ: Report in mPDF only return a single record when receiving data via POST
I am trying to generate a PDF with data sent via POST. insert link description here The os-list.php file is a report that the data changes according to the filter. I am sending this data but only…
-
1
votes2
answers1259
viewsA: Error making query with between in datetime field
Worked using CONVERT Where os.dataHora between CONVERT(datetime, '01-08-2016', 105) and CONVERT(datetime, '30-10-2016', 105)
sql-serveranswered fabricio_wm 1,090 -
0
votes2
answers1259
viewsQ: Error making query with between in datetime field
I’m trying to make a between but I don’t know how to proceed. where cliente.id = (select usuario.idCliente from usuario where usuario.login = 'julio') and (cast(os.dataHora as date) between…
sql-serverasked fabricio_wm 1,090 -
0
votes1
answer1193
viewsQ: Warning: sqlsrv_fetch_array() expects Parameter 1 to be Resource, Boolean Given in D: xampp5.6 htdocs sysriomed bank-material.php on line 27
I am making a form for editing materials (products). I am viewing the list of materials and I created in my form a button that passes my IdItem. I’m in error: Warning: sqlsrv_fetch_array() expects…
-
2
votes0
answers18
viewsQ: php does not display accent with utf-8
I am working with PHP 5.6 and SQL Server. I am working with bootstrap and the database is Latin1_general_ci_as. My HTML is as below: <!DOCTYPE html> <html lang="pt-br"> <head>…
-
0
votes1
answer63
viewsQ: Error in login system using SQL Server. Resource(7) of type (SQL Server Statement)
I am trying to make a login system between PHP and SQL Server and is giving the error Resource(7) of type (SQL Server Statement). index php. <form class="form-horizontal" id="FormLogin"…
-
2
votes2
answers785
viewsQ: How to create a Stored Procedure for two tables
I’m trying to do this Stored Procedure, but it’s giving error. I can do an Insert with proceed? DELIMITER $$ DROP PROCEDURE IF EXISTS `centralrit`.`sp_InterdDetalhe_Encrypt` $$ CREATE PROCEDURE…
mysqlasked fabricio_wm 1,090 -
0
votes1
answer137
viewsQ: How to display images in symfony
I’m starting at symfony and would like to know the correct way to display an image. I’m changing the index.html.twing which is in app/Resource/view/default/ and base.html.twing which is in…
symfonyasked fabricio_wm 1,090 -
0
votes1
answer55
viewsA: how to work with aes_decrypt on symfony 3
Resolved by following the step-by-step link. https://github.com/ambta/DoctrineEncryptBundle/blob/master/Resources/doc/installation.md…
-
-2
votes1
answer55
viewsQ: how to work with aes_decrypt on symfony 3
I have a database that is encrypted by another system and I need to decrypt the data for display in the system made in symfony 3. I have the decryption key and need to do this. I have little…
-
0
votes1
answer325
viewsA: How to work with AES_ENCRYPT and AES_DECRYPT
I resolved. Encryption is available from version 4.0.2. To work with cryptography one must change the Charset from column to latim1 and Leotard for latin1_general_ci.…
mysqlanswered fabricio_wm 1,090 -
0
votes1
answer325
viewsQ: How to work with AES_ENCRYPT and AES_DECRYPT
I’m having trouble encrypting and decrypting data. I used the following direct input in mysql insert into interditado (usuario_id, nome, data_cadastro) values (1, AES_ENCRYPT('Zé da…
mysqlasked fabricio_wm 1,090 -
0
votes1
answer52
viewsA: Error changing table via Doctrine Migrations
Solved. I removed the Garden restriction of the flock and I circled as information below. $type = \Doctrine\DBAL\Types\Type::getType('text'); //Alterção do tipo da coluna de varchar para text para…
-
0
votes1
answer52
viewsQ: Error changing table via Doctrine Migrations
Through git I used the command below: php bin/console doctrine:migrations:generate I opened the file and made the change <?php namespace Application\Migrations; use…
-
0
votes1
answer74
viewsA: Failed to create field in Simpledataset in Delphi
There is no. I was creating to store data in memory. Solved by placing fieldCalculate.
delphianswered fabricio_wm 1,090 -
1
votes1
answer75
viewsQ: How to make an insert in mysql with data coming from a Simpledataset
I have a Simpledataset with data from a Firebird local. I have to make one Insert in the Mysql. How should I do it? Other Sqlconnect and another Simpledataset? How to do the Insert with data from…
-
0
votes1
answer227
viewsQ: how to write the output of var_dump($_FILES) to monolog;
I need to save the var_dump($file) records in the monolog to identify an error. I don’t know how to proceed. My monolog in app config monolog: handlers: main: type: 'rotating_file' path:…
-
0
votes0
answers91
viewsQ: How to add Iduri in Delphi 2010
I’m developing a project that I need to idURI that is from Indy and Delphi 2010 doesn’t have. I need this to take a code and concatenate with the current date and send via url with that code at the…
-
2
votes1
answer1008
viewsQ: How to remove Mask in Delphi from a Maskedit
I need to remove the stitch and trace from a Maskedit in Delphi. The mask is ##.###-#
delphiasked fabricio_wm 1,090 -
2
votes2
answers309
viewsQ: How to use REST to validate XML receiving via POST
I have an application in Delphi that sends an XML with a code via Post. I have to develop an application in Symfony that needs to validate the receipt of this XML via post. To hear it would be via…
-
1
votes1
answer1190
viewsQ: How to send data from a clientdataset via post in Delphi
I am developing an application that I need to send data from a Clientdataset (Delphi) to a web system via Post. How should I proceed? Grateful.
delphiasked fabricio_wm 1,090 -
0
votes1
answer74
viewsQ: Failed to create field in Simpledataset in Delphi
I have a Simpledataset that already had records from a database. I added a field to work in memory. When I right click does not appear the Create Dataset option and when I copy the project error:…
delphiasked fabricio_wm 1,090