Posts by Rod • 565 points
36 posts
-
0
votes1
answer13
viewsQ: Ajax updating another request
I have this ajax request that brings comments from a file (.php) TOGETHER WITH A FORM AT THE END to insert more comments: //carregar comentarios…
-
0
votes1
answer26
viewsQ: Load image url - Jquery
I have the following code you click on input that has the image URL: <input name="miniatura" value="<?php echo $miniatura;?>" class="miniatura"> <img id="miniatura_exibe" />…
-
0
votes1
answer203
viewsQ: REGEX ASP Classic Replace
How can I take a large text full of ulrs and upload them to links in ASP CLASSIC 3 using REGEX? I wanted to add this code. Get in the replace down there I have no idea... This Regex there, houses…
-
0
votes1
answer56
viewsQ: MATCH THIRD ELEMENT REGEX
How do I marry only the third </p> of that text? texto="<p>primeiro paragrafo.</p><h2>titulo 1</h2><p>segundo paragrafo.</p><h2>titulo…
-
0
votes2
answers77
viewsQ: Scroll through text and link word - Jquery
It is possible to select words in a long text and link them? Example: I want to select and link the words: donkey and walk. Note: Only 1 time, no repetition of links and each word for a different…
-
-1
votes1
answer32
viewsQ: Template and htacess Wordpress page
In Wordpress: On a template page: I have a link: <a href="http://localhost/wpcurso/exercicios-questoes/?id='.$row->id_exercicio.' " >' . $row->titulo . '</a> That points to another…
-
0
votes1
answer23
viewsQ: Conflict in Archive . Htacess
On htacess: RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php RewriteRule ^blog/(.*)/$ blog/assuntos.php?disciplina=$1 RewriteRule…
-
-2
votes2
answers162
viewsQ: FREE components (Upload, Email and Jpeg) in ASP 3
I need to replace the paid components: http://www.aspemail.com/ http://www.aspjpeg.com/ http://www.aspupload.com/ Someone knows good alternatives and FREE. I want to save some money, since joining…
-
0
votes2
answers248
viewsQ: Close PHP and ASP connection or not?
Making my applications in ASP I make a include at the end of all pages by disconnecting the bank. In PHP you need to disconnect too? another question: How to close this PHP connection? $conexao =…
-
1
votes1
answer82
viewsQ: Send mailing list with jQuery
$('#j_envia-lista').click(function(){ var dados = $('#j_exibe-envio'); $.ajax({ type: "GET", url: "usuario/enviar-newsletter.asp", success: function(resposta) { dados.html(resposta); }, beforeSend:…
-
2
votes2
answers208
viewsQ: Catch everything between line break tags
<div class="1" >quero pegar AQUI DENTRO PODE TER quebra de linha... paragrafo... espaços várias outras tags html... qualquer coisa... </div> How do I marry this div with regex? Example:…
-
1
votes2
answers58
viewsQ: Bring records that is not in another table
SELECT * FROM quiz WHERE status='publicado' AND NOT quiz.id_quiz IN (SELECT id_quiz FROM quiz_resolvido WHERE quiz_resolvido.id_usuario=1) order by rand() LIMIT 0,10; Today I use this Query to…
-
1
votes1
answer59
viewsQ: Top Fixed Sidebar Ad - JQUERY
I liked the display of ads in the sidebar of this site https://exercicios.mundoeducacao.bol.uol.com.br/exercicios-gramatica/exercicios-sobre-os-tipos-predicado-predicativo.htm When scrolling the…
-
2
votes3
answers154
views -
0
votes0
answers14
viewsQ: How to store and retrieve date in this format?
What is the best way to store and retrieve date in this format, in MYSQL? <news:publication_date>2019-02-19T18:57:26-03:00</news:publication_date>
-
0
votes1
answer405
viewsQ: Transform string (date and time)
It’s an xml sitemap (google news) and I have to get it out like this: <news:publication_date>2019-02-19T18:57:26-03:00</news:publication_date> My fields are in the following format, both…
-
1
votes2
answers66
viewsQ: Show only larger records two days before today
I have the following Query in MYSQL: SELECT id_tabela,titulo,data_gabarito,left(data_gabarito,10) AS d_gabarito FROM tabela WHERE data_gabarito RLIKE('^[0-9]{2}/[0-9]{2}/[0-9]{4}') ORDER BY…
-
1
votes2
answers511
viewsQ: Bring only the first occurrence of a regex
How to search in a query only the first date? For example: 30/09/2018 and 14/10/2018 and 21/10/2018 I would like to bring only the first date. I am using so, [0-9]{2}/[0-9]{2}/[0-9]{4}, but it…
-
6
votes3
answers1491
viewsQ: MYSQL and REGEX Phone Number
I need to select records that have in the middle of the phone numbers text to delete (automatic moderation). It’s a forum, people every day comment and put phone numbers in the middle of the…
-
0
votes1
answer31
viewsQ: Page Template - List data and send to another template
Friends, I am listing product data from a table created in the wp structure. I have created a "products.php" template where I list it like this: produto 1 produto 2 produto 3 ... Each product of…
-
0
votes1
answer26
viewsQ: Access page other than standard
How do I access a page created along with wp default pages such as sigle, page, etc... Example, I create a page called examples.php and I want to access it. Which link should I use, because if I try…
-
0
votes1
answer393
viewsQ: Select2 + Jquery - Autocomplete Problem
I managed to make the Select2 Plugin work, but the autocomplete does not work. $(function () { $("#disciplina").select2({ placeholder: "Disciplina", minimumInputLength: 0, ajax:{ url: "busca.asp",…
-
1
votes1
answer289
viewsQ: Return ASP 3 array and select popular with each JQUERY
I need to popular a select (Html). I believe the step would be this, but how to do it? Someone has a link that can direct me? Click on select (Onchange maybe) Put the Query (Query) data into ASP in…
-
1
votes0
answers133
viewsQ: Heavier queries in MYSQL
How to know which queries are being heavier in my mysql bd? Have some command I can give that will bring me this data?
-
0
votes0
answers231
viewsQ: CKEDITOR - Problems with formatting coming from WORD
if I take a formatted word text and paste it into the ckeditor it comes full of css, spam, brs, etc... In the Wordpress editor this does not happen, it leaves everything clean, but keeps the…
-
3
votes1
answer180
viewsQ: Jquery - Display comment data
I’m trying to return in Jquery comment data and end a form to add more comments. <!DOCTYPE html> <html> <head> <script…
-
1
votes0
answers125
viewsQ: Redirect 301 with Webconfig
I use a rule that works more does not seem correct. I think it ends up giving two redirect 301. <!--Forçar https--> <rule name="Https" stopProcessing="true"> <match url="^"…
-
0
votes1
answer486
viewsQ: ASP - Remove line break from text end
With removing several <br /> end of text in ASP 3.0 only? Texto <br /> texto texto texto <br /><br /><br /><br />
-
4
votes2
answers134
viewsQ: REGEX - Small details that don’t match
I have that expression: (?:[ \t]*[a-z][)]\s*)?([^\r\n<]+(?:(?:\r?\n(?!\s*[a-z][)])|<(?!br\s*\/?>(?:\s*<br\s*\/?>)*\s*(?:\s+[a-z][)]|\s*$)))[^\r\n<]*)*)(?:<br\s*\/?>\s*)*…
-
0
votes2
answers82
viewsQ: FCKEDITOR - Force all left text
How to force a text if inserted in the FCKEDITOR: Na frase: para discutir e levantar sugestões que possam trazer a solução definitiva. a)A sustentabilidade, que hoje tem caráter extremamente…
-
0
votes0
answers49
viewsQ: ASP 3 - Removing space in the middle of the text
Next, this text is taken from a pdf, and posted in a textare (fckeditor), but it comes all misaligned. So for example: pergunta a)resposta 1 b)resposta 1 c)resposta 1 d)resposta 1 e)resposta 1 I…
-
0
votes1
answer31
viewsQ: JQUERY - Load in form with editor
It is possible to play a text all misaligned and full of spaces to the left, above and below. Let it all align and without spaces? For example: texto texto texto texto texto and leave like this, all…
-
0
votes1
answer79
viewsQ: REGEX - Allow HTML at the beginning of the string
This expression is cutting HTML only when I put it at the beginning of the expression. How to fix this? (?:[…
-
0
votes0
answers85
viewsQ: E-mail with Sendgrid and ASP 3
How do I send email with Sendgrid using ASP 3? Use the component Persits.Mailsender Asp 3 to send emails. Localhost works normally, but when I put the sendgrid smtp does not go, it gives error:…
-
1
votes3
answers158
viewsQ: How do I marry this range of elements?
How do I pick up a text between these two elements, for example: a) texto <br /> texto texto texto <br /> I’d like to take what’s between a) and the <br /> of the end, only the…
-
9
votes4
answers24927
viewsQ: Regex - Picking text up to a given string
I would like to take the text up to the characters a) and if possible and separate responses also using Regex? pergunta pergunta pergunta pergunta pergunta pergunta pergunta pergunta pergunta…