Posts by Gustavo Hoppe Levin • 795 points
72 posts
-
0
votes1
answer640
viewsQ: Automatic refresh only once in PHP
I need to do an automatic "refresh" on some pages of a customer’s site. However, this "refresh" needs to happen only A time. I know I could put the meta tag below, for example: <meta…
-
0
votes1
answer46
viewsQ: Update of holidays in SQL Server table
I have an SQL Server table called Dm_tempo. Its fields are: DtRef AnoRef MesRef DiaRef MesExtenso CodDiaSemana SemanaNumero IndFeriado And already have in it days marked as holidays (in this case,…
-
0
votes1
answer227
viewsQ: ASP.Net and C# - Reducing dropdown options according to current date
On my client’s website, I have a dropdown list with the months of the year. Unfortunately, the value property has months written instead of numbers. <asp:DropDownList ID="ddlMesReajuste"…
-
0
votes0
answers63
viewsQ: PHP and Mysql - UPDATE error
On my client’s website, which is programmed in PHP and uses Mysql, users must fill out employee evaluation data. But in two moments, I received notifications from users who will continue the reviews…
-
1
votes0
answers167
viewsQ: Error doing Linked Server with Firebird Database
I installed Firebird 2.5 and the due ODBC driver on my computer. I tested the connection and it went all right, I called the bank DB. But when I create Linked server in SQL Management Studio 2008,…
-
3
votes1
answer39
viewsQ: Access SQL Server 2008 data from Mysql
Does anyone know if I can access data from an SQL Server 2008 database from a Mysql database? It would be something like Linked Server, but the other way around.
-
0
votes1
answer100
viewsQ: Nicedit not working in other textareas
I am creating a kind of forum on my client’s site. In this forum, to ask questions and comments, obviously use Textareas. However, I am using the Nicedit class to transform my textareas with option…
-
4
votes1
answer195
viewsQ: Trying to upload JPG via Javascript and Ajax
I created the following form below on a client’s website, so that you can change a user’s photo: <form id="formulario" method="post" enctype="multipart/form-data"> <div…
-
1
votes0
answers30
viewsQ: Automatic JPG hosting from PHP and Javascript functions
I have on a client’s website a part where it shows the name of the logged in user, the drive where it works and the photo of the user. I want to implement an automated function (in javascript and…
-
1
votes2
answers42
viewsQ: Use monitoring of search tool
On my client’s website, there is a kind of search tool. This search requires the user to choose which of the sections (pages) he wants to search. With the desired word and the chosen section, it…
-
1
votes0
answers40
viewsQ: How to make Linked server with Oracle database for SQL Server 2008 (and considering VPN connection)?
I need to create a Linked Server connection to my client’s SQL Server 2008 database. This Linked Server will be with an Oracle database. My SQL Server 2008 database is in a server of my client. The…
-
0
votes2
answers137
viewsQ: Improving Hover scheme for website reviews
I’m trying to develop an evaluation scheme of files that are hosted on my client’s website. Each file gains beyond the access link a DIV with the five evaluation options, which appear as stars in…
-
2
votes1
answer271
viewsQ: Contrary to appendHTML - how to do?
I have a label in the form of my website adding to a div (in the case of the example, the id of that div is grupoExt) an HTML content. Here is the code: var numeroFE = 2;…
-
0
votes1
answer233
viewsQ: SQL - Select with possible concatenation
I created a query that concatenates my results. It is a table with names and to which range (square) they are classified. The table is called consulta_readiness and the fields are name and squared:…
-
0
votes0
answers269
viewsQ: SQL query for ASP.NET page with C#
On my client’s website, I have an SQL query that brings the result of the level of readiness of several collaborators. Only that, for now, I can only transfer to the page the result of the query in…
-
0
votes1
answer195
viewsQ: Show image while hovering online mouse gridview
On an HR management site, there is a readiness history query. Here’s how the page was made: ASPX FILE <%@ Page Language="C#" AutoEventWireup="true" CodeFile="historicoProntidao.aspx.cs"…
-
0
votes1
answer454
viewsQ: PHP and Javascript - Sending HTML attachment in e-mail
I created on my client’s website a function that issues an event certificate and sends it by email. How is the function at the moment: private static function setLayoutCertificado(){…
-
1
votes1
answer60
viewsQ: PHP and Javascript - Hosting and opening files in formats other than PDF
I created on my client’s website a way to host presence list files at events. Here’s the code: <b>Arquivo da lista de presença (PDF):</b> <?php if($evento['arquivo'] == '1'){ echo…
-
3
votes2
answers59
viewsQ: Table of users with same usernames
In a Mysql database table, I have new user registration, and the primary key of the table is an ID field. However, I may end up creating, even by accident, users with the same username. For example,…
mysqlasked Gustavo Hoppe Levin 795 -
1
votes2
answers144
viewsQ: Improving Paging Scheme - PHP and Javascript
On the site I took over from a client, some pages have a pagination scheme. For example, a news page that shows record of 100 published news appear 7 news per page. The pagination will show me from…
-
1
votes0
answers519
viewsQ: PHP and Javascript - Yes and No options in Confirm popup
On my website, I have an event query section. Within this section, I added a CANCEL EVENT button. When this button is clicked, it executes the following javascript function: function…
-
-1
votes1
answer1163
viewsQ: Sending XML to webservice
I need to know how to send XML to a client’s webservice. Since I’m very new to this, I did a little research on some sources and found a very simple code for java. I wanted to know if everything is…
-
0
votes0
answers35
viewsQ: Mysql Table XML via Access
I first need to know if Access can connect to Mysql database. From this connection, I need to generate through Access an XML that contains the data of a table of my Mysql database. Later this XML…
-
0
votes0
answers135
viewsQ: ASP.NET and C# - Gridview line obligation
Just as there is in forms of ASP.Net sites the Requiredfieldvalidator, which requires the filling of a field, there is some way to have a mandatory gridview with at least one line? For example, I…
-
2
votes1
answer839
viewsQ: ASP.Net and C# - automatic e-mail sending
On the site I took over from a client, developed in ASP.Net with C#, there are registered employees with a defined admission date. The registration of these employees is in an SQL Server 2008…
-
1
votes1
answer816
viewsQ: PHP and Javascript - Automating one page printing function from another page
My site has a query screen of registered events. For each one, I have the option of Edit Event that redirects me to a form: function editaEvento(val){ var valor = val; location.href =…
-
0
votes1
answer84
viewsA: PHP and Mysql - Putting textboxs into div
I figured it out. I just had to use the blast: <div id="numPart"> <?php foreach ($data['evento'] as $evento){ $participantes = explode("<br>",$evento['listapresenca']);…
-
0
votes1
answer84
viewsQ: PHP and Mysql - Putting textboxs into div
I’m trying a kind of reverse engineering with the use of PHP, Javascript and Mysql query. I am creating an event editing form registered in a bank table. In one of the fields, called Presence List,…
-
1
votes1
answer412
viewsQ: PHP and javascript - Getting javascript value in PHP (use of Session)
On the site I took over from another developer, done in PHP and Javascript, there is a search for events created (all registered in Mysql database table). In each event searched, I created a button…
-
0
votes1
answer78
viewsQ: PHP and Javascript - Adjusting Mysql Table Search (Doctrine Query)
I’m doing on my client page, which I took over from another developer, a section to search for events registered in the Mysql database. How is that page: <div id="detalhesBusca"…
-
0
votes1
answer635
viewsQ: Putting more than one SUBMIT input into an HTML form
I have on my page a form (form) with an already determined action and an input button. <form id="educForm1" name="educForm1" action="<?php echo ROOT . 'educacao' ?>/enviaemail"…
-
1
votes0
answers51
viewsQ: PHP and Javascript - E-mail when label is clicked
I have a form on my page, and part of it can be printed when clicked on a Print label: <label id="printEvento" class="textDescricaoSobre font13" style="cursor: pointer">IMPRIMIR…
-
1
votes3
answers82
viewsQ: Javascript - Function problem that adds textbox
On my PHP and Javascript page, I created a space that contains two Textbox and a clickable label to add more Textbox, if necessary, to div numPart: <div id="numPart"> <div…
-
3
votes2
answers3878
viewsQ: Catching first and last date of the previous month
I am using in Eclipse Selenium, for automatization of sending commands to a site, through JAVA files. On this site, I need to make a date query. I did so to test: element =…
-
1
votes1
answer43
viewsQ: Programs and/or extensions that "decompile" Dlls from an ASP site
Does anyone know of a program or extension that can do a sort of "decompiling" of DLL files (which contains classes of a website) in CS and ASPX.CS files? For now, I only know of the . NET…
-
0
votes1
answer424
viewsQ: Eclipse and Selenium - Transforming . JAVA into . EXE or . BAT
I’m using Eclipse and the Selenium framework to create automated web page opening routines and execute commands (link clicks, field fill, site change, etc). I’ve managed to create some test routines…
-
3
votes2
answers619
viewsQ: Stored Procedure for log data insertion
I need to create a Stored Procedure in my SQL Server database. The purpose of this Stored Procedure is to record data in a Log table, which has three fields: date, time, ID of who logged in. Date…
-
0
votes1
answer527
viewsQ: PHP - Setting SESSION time on already defined functions
I need to set the SESSION time of my site, which I took from another developer. Session settings are used from a ready-made file, Session.php Follow the code of that file: <?php // classe para…
-
1
votes1
answer323
viewsQ: PHP and Javascript - File Upload Help
I have on my client’s website, which I took over from another developer, a section on the registration of meetings and events. In this section, I need to implement a PDF file upload field related to…
-
2
votes2
answers1323
viewsQ: PHP and Javascript - Disable a Submit button if textarea is empty
In the form of my website, I have a field textarea and a button Submit. Follow the code of both: <textarea name='texto1' id="txtBriefing" rows="5" style="font-family: Trebuchet MS; font-size:…
-
0
votes2
answers1678
viewsQ: PHP and Javascript - Show alert without updating page
I have on my page a button that sends e-mail with some information. However, if two of the fields are empty, the browser gives an alert warning (indicated in the code below in TODO). <?php…
-
1
votes1
answer82
viewsQ: PHP and Javascript - Selected checkbox value storage (in Session)
I have on my page some options in checkboxes. They would be campaign options. Follow the code of the table where they are available (lines of three): <table style="font-family: Trebuchet MS;…
-
1
votes2
answers446
viewsQ: Javascript - Showing and hiding Ivs according to selected checkboxes
I own the site with 9 checkboxes, each associated with a div. When a checkbox is selected, the related div is shown. When another checkbox is selected, the div related to that other one is also…
-
1
votes3
answers636
viewsQ: How to deselect checkboxes when only one is selected?
I have nine checkboxes on my page. <input id="chkCamp1" type="checkbox" style="margin-left: -25px" onclick="showMe('optCamp1', this)"> <input id="chkCamp2" type="checkbox"…
-
1
votes1
answer474
viewsA: Sending birthday emails based on Mysql query
Guys, I figured out the solution by doing a task and creating a page on my server. When accessed the page, the email is sent. And the task to open the browser on this page will always happen at 9…
-
3
votes1
answer474
viewsQ: Sending birthday emails based on Mysql query
I have to create a function (task) on the server of my site that sends a birthday email, containing an HTML code, to birthday emails. Detail: these birthdays are registered in a Mysql table that…
-
0
votes1
answer736
viewsQ: Taking src value of an image to send e-mail in phpmailer
On my page, I’m trying to get an email sent with data from a form to be filled in. One of the fields is an image, which can be changed depending on the selected option: <tr> <td…
-
0
votes1
answer72
viewsQ: Is it possible to reuse this complex function for multiple registrations at the same time?
On the site I took over from a previous developer, the investor registration is done one by one after a search in the system called CM. The function is called cadastralInvestidor: function…
-
0
votes1
answer48
viewsQ: Doubt in table generation in excel file
I have a Javascript function that generates the table of a page in an Excel spreadsheet. Follow the code below: function montaExcel(){ var tab_text = "<table><tr><td><img…
-
1
votes1
answer761
viewsA: PHP - Taking values from an HTML table and inserting them into a Mysql table
I figured out the solution, folks. I was using commands that started with mysqli and probably that was the problem. The code that worked was like this: $emailInv = $this->email; $sqlNuevo =…