Posts by Daniel Gomes • 19 points
13 posts
-
0
votes1
answer290
viewsQ: Delete multiple lines from SQL Server that have the same text snippet?
To test my forms, I ran multiple fills with the word "test" in the fields. Now I wanted to clean the BD, but I’m having difficulties to delete several lines with the same text snippet "test" I am…
-
0
votes1
answer34
viewsA: How to condition email sending content with a chosen variable in the form?
to whom it may interest, I managed to solve with switch, as follows: in the archive gravar_enviar.php //detalhes do email $mail->isHTML(true); $mail->setFrom ('[email protected]', 'Site');…
-
0
votes1
answer34
viewsQ: How to condition email sending content with a chosen variable in the form?
I am trying to condition the email sending format by to a certain option chosen by the user, in the Subject / Script : If the option is SCRIPT, the contents of the $html variable will be sent. If it…
-
0
votes1
answer125
viewsA: Excel generated by PHP query returns with incorrect characters
I was able to solve the problem by changing the BD connection and declaring "Characterset" $dbhost = "xxxxxxxx"; #Nome do host $db = "xxxxx"; #Nome do banco de dados $user = "xxxxxxxx"; #Nome do…
-
-1
votes1
answer125
viewsQ: Excel generated by PHP query returns with incorrect characters
I made a PHP query to generate an Excel report. The values are recorded correctly, as shown below: However the generated Excel returns with incorrect characters, mainly in Mandarin, rsrs, as shown…
-
0
votes0
answers93
viewsQ: When trying to generate in Excel by PHP, appear Warnings and spreadsheet is printed in the browser
Since youtube tutorial, I am trying to generate an Excel of my BD Mysql through a PHP query. But the sheet is not downloaded and the result generates 5 warnings of header with the sheet printed on…
-
0
votes1
answer103
viewsA: Phpmailer does not attach
Kali, thank you for suggesting reading the documentation. I discovered that the enctype="multipart/form-data" in the HTML form. Inserted and worked! The section was like this: <form…
-
-1
votes1
answer103
viewsQ: Phpmailer does not attach
I’ve looked at Stack’s answers, I’ve done it before, but it’s still going wrong. So I’d like you to take a look and maybe find something I can’t see Is that simply the email sent by Phpmailer does…
-
0
votes2
answers60
viewsA: PHP form with attachment sends works on web server, but not on intranet server
The Notices are gone, but the email still cannot be sent. Always gives the error message. <?php if (isset($_POST['frm_ok']) == true){ $subm = $_POST['frm_ok']; } if (isset($_POST['nome']) ==…
-
0
votes2
answers60
viewsQ: PHP form with attachment sends works on web server, but not on intranet server
A form I tested on my web server (www.sitedodaniel.com.br/box/send/formgamer.php) worked perfectly. However, when transposing the code to an intranet server of my company, the form is displayed, but…
-
0
votes1
answer160
viewsA: Error in PHP form with attachment submission
I got one that worked, to whom it matters: // Mensagem formatada, enviada no corpo do email $html = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"…
-
0
votes1
answer160
viewsQ: Error in PHP form with attachment submission
I’m having trouble sending PHP form with attachment. It causes the error: Parse error: syntax error, Unexpected T_VARIABLE in dominio.com.br daniel formulario Formking envia.php on line 19 On line…
-
1
votes1
answer43
viewsQ: Error when modifying a View column with calculation
I need to insert a calculation column in this view below, but the message appears Msg 205, Level 16, State 1, Procedure Consolidadoestudobasesifix, Line 4 [Batch Start Line 9] All queries Combined…