Posts by Anderson Henrique • 1,367 points
93 posts
-
1
votes3
answers2819
viewsA: Ways to call image in wordpress
When it comes to wordpress there are things to facilitate this for example this would already call your theme try so <?php $template_directory = get_template_directory_uri(); ?> <div…
-
0
votes2
answers2832
viewsA: how to do a mysql search with php and return the data in each input?
Add an isset to validate Cpf, add a ":Cpf" instead of the Cpf variable in the query, bind is to secure the query before executing, then run and take the result in $result, then in print_r look at…
-
1
votes1
answer56
viewsA: Work in C "Bank" giving error
You forgot the break in the cases follows the tidy code below, the break causes that case to run and after that does not run any other, and runs the "do" again main(){ int matriz[5][2],i,…
-
0
votes1
answer73
viewsA: My form is giving much problem with the part of the register
Try to do like this, is missing an equal in the new Formdata and the url, as it is in the same location just put the name of the document, commented from a look <section class="containerreg">…
-
0
votes1
answer127
viewsA: Image with responsive HOVER
After you have fixed the bootstrap do the following, always set a size for things in all your put a class in the example I will put "time-link" note, just put in the figures that will be the images…
-
0
votes1
answer27
viewsA: Div is not showing up
Simple, in onclick you are adding 2 values erroneously so fot.onclick = closeDiv1; appeared Iv2; this does not work, create an onclick function looks much better, it will be waiting to receive…
-
1
votes1
answer352
viewsQ: Option template does not show on wordpress custom page
I am creating a new tab equal to "page" however, separate, staying as the image. The problem is that I created a custom template, I created my theme myself, in the "pages" tab appears the template…
-
1
votes0
answers22
viewsQ: Map showing that exists without existing
I have a problem a little strange, I added a map per kml on the site but then I went to try to change this map for another, I noticed that it did not change, I cleaned the cache and I did everything…
-
0
votes2
answers78
viewsA: Doubt about vector in C
Come on I found several errors in your code and put comments explaining, but basically you were running too many for no need, you were using %d to float and that uses %f, and was trying to get…
-
1
votes0
answers24
viewsQ: Use wordpress video without iframe
I am with a question that can be quite beginner, is there any way to display youtube videos on a wordpress page without using Iframe? There are several discussions saying that Iframe is a bad idea,…
-
1
votes1
answer23
viewsQ: Show Thumbnails of a particular wordpress page
I am developing a theme for wordpress and created a custom page, I gave the name of the file page_vans.php when I will create a page on Dashboard I have the template option that appears to me to…
-
0
votes2
answers661
viewsA: How to take the value of the A or B button
Do the following pass the parameter inside the onclick thus changing state("a") or changing state("b"), note that your first if is missing as well, and do not use if Else used if if <input…
-
1
votes4
answers1009
viewsA: Connecting PHP to the Mysql database
Do the following if nothing I’ve been through works, it seems your php version has already removed mysql_select_db so do it with mysqli is that simple define('usuario_bd', 'root');…
-
0
votes2
answers194
viewsA: Matrix vector of records
Simple, come on in the main function you will fill the vector of the person struct, you will pick at position 0, 1 or 2 rows and 2 columns, in this row you are creating an array of 3 rows and 3…
-
2
votes1
answer122
viewsA: Error adding" 0 " to a tinyint(1) field in the database
what you could do is the following go back to 0 as String "0" equal here 'status' => "0", 'permission' => "0" and inside that if you did this check if(!$adc_dados[$adc_campos[$adc_aux]]){…
-
1
votes2
answers323
viewsA: Execute document and send variable value in PHP by Ajax
First, remove javascript from php tag <?php $codprod = $_POST['produtoDelete'];// Esse é o valor que preciso para fazer as sqls ?> It will then call the delete function on a button or…
-
2
votes1
answer70
viewsQ: Date going wrong
I saw similar questions, but none with answer, my date is coming so from the bank 2017-05-05T00:00:00+00:00 when I try to make a date(’d-m-Y',strtotime($data)); it comes so 04-05-2017, has it come…
-
0
votes0
answers43
viewsQ: doubt with Ssion
I’m trying to open a Session in php but it does not save value, I wondered if it is the way I do the redirect so I wanted to take my doubt, basically what I do is take the login and password and…
-
0
votes1
answer23
viewsQ: Filter texts without wordpress formatting
How could I filter only the text, that is what are outside of the tags, the ones that are in the html tags I want to remain, I just don’t want the ones that are in these [/et_pb_text] tag types or I…
-
0
votes1
answer27
viewsQ: Problem with wordpress site on server migration
I migrated a Wordpress site from server and now only recognizes the home page, the other pages simply from Error 500 Internal Server, someone once had something similar?
-
2
votes2
answers12076
viewsA: How to use Python comma instead of a dot
That way the new Neoroficaria without the point and with the comma in its place numero = input('Entre com o numero : ') novoNumero = numero.replace(".",",")
pythonanswered Anderson Henrique 1,367 -
1
votes2
answers1540
viewsA: Show and hide div by clicking button
Friend on the javascript part put this, if the button has already passed the old div, hide the old one ie testCounter - 1, Tested and worked, follow the js fiddle https://jsfiddle.net/5f0tmw0j/2/…
-
2
votes2
answers939
viewsA: Check if URL is different in PHP
Yes friend is possible let’s take an example $url = "https://www.google.com"; //Aqui ira pegar o dominio $dominio= $_SERVER['HTTP_HOST']; //Aqui ira concatenar com o http:// ou https:// e salvar em…
phpanswered Anderson Henrique 1,367 -
0
votes1
answer196
viewsA: How to recognize the type of data entered - C
You can use the isdigit function, you will have to go through the entire input with it, if placing the code is easier, but follow an example taken from the help of watcom c. #include <stdio.h>…
-
0
votes0
answers193
viewsQ: In which table does wordpress store the layout of posts?
I need to update old posts with a new layout, I was wondering in which table of the wordpress database is the layout of the posts anyone has idea? , Obs have to change without being by Adm panel, It…
-
0
votes2
answers79
viewsA: Problem of website formatting
Well, sorry to put as an answer may not be that, I tried to do in jsfidle but you did not limit the size of the images so it continued with the broken layout, but come on, I found some errors in the…
-
0
votes0
answers76
viewsQ: What’s wrong with Foreign key?
I am working out a database, but at the time of generating the diagram in reverse engineering Workbench no table linked with another, and does not appear the FK, I wonder if I did something wrong,…
-
1
votes0
answers53
viewsQ: stack overflow problem what to do to fix it, improve performance, Java?
I know the stackoverflow is given by the memory burst but I’m with it in java and I don’t know a way to give performance so that it doesn’t occur. I’m making a software to calculate a linear…
javaasked Anderson Henrique 1,367 -
0
votes4
answers6374
viewsA: Encrypt Java password with Hash sha256
I don’t know if that’s what you want but package teste; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class…
-
0
votes2
answers176
viewsA: Table width of html does not increase as requested for outlook signature
I got guys, I made a merge between the columns and rows and the icons each put in a td follow the code, <table border="0" cellspacing="0" width="320" height="115"> <tr width="136">…
-
0
votes2
answers176
viewsQ: Table width of html does not increase as requested for outlook signature
I need to do a signature in html and css for outlook and need to have a width of at most 320px for adjustment on mobile phones, I did so but the width I ask does not stay, someone can help me, I…
-
0
votes3
answers759
viewsQ: How can I make a div hide on the side and when clicked appear on the screen?
How can I make div hide on the side of the screen? Note the side menu of this site http://preview.imithemes.com/? Theme=Solicitor-WP I tried it a way but didn’t someone know a way? my None display…
-
3
votes1
answer164
viewsQ: Doubt about simple chaining in c
I wanted to know why removal processes in threads have two pointers set to next like this given example void remove (celula *p) { celula *lixo; lixo = p->prox; p->prox = lixo->prox; free…
-
0
votes1
answer31
viewsQ: Horizontal walking form does not work
I have a form that initially is display None and negative margin, I wanted when the button was clicked to give the impression that the div was dragged like this site, the side menu,…
-
1
votes1
answer102
viewsQ: How can I do a function if the customer clicks on the image of the left column it opens in the right div?
I have to do the following project of the first image, will show a column of properties(houses) and when I click one on the right will show the description of the house... if I want to see more…
-
0
votes1
answer443
viewsQ: Why don’t other Ivs show up?
I put a div as relative, and the others inside as Absolute, but only div 3 is showing up because it’s the last I think, the problem is why they’re clustering like this? <div id="ofertas">…
-
0
votes1
answer45
viewsA: Change background from time (Problem)
I got you guys, it was my mistake, I’m sorry, I already had a load up there so I think I was in conflict, sorry really thank you
-
0
votes1
answer45
viewsQ: Change background from time (Problem)
I need to change the background from a certain time, but the site was already half done so the loading of the background is being done in jquery with this function $(".intro").backstretch("img/" +…
-
0
votes2
answers140
viewsA: Soon accompanying page scroll(problem)
Well what I basically did, I removed the jquery and put Fixed first, then just added a margin-top in the image below. #titulo { width:100%; position: fixed; z-index: 99; } #mobileFachada{…
-
0
votes2
answers140
viewsQ: Soon accompanying page scroll(problem)
I made a jquery to add a Fixed on the page logo depending on the amount of scrolling, but it is very done, when it passes the amount of scroll that the logo gets Fixed the logo a "jump" to the…
-
0
votes1
answer48
viewsQ: Why doesn’t the button line up on the iPad?
The responsive site is lining up on the other devices quietly but on the iPad it leaves the place... does anyone know a way to put it in the center without losing the center position for mobile…
-
0
votes1
answer933
viewsQ: How to align text in responsive?
People are making the site politicadascidades.com.br and when I change to the responsive design I come across this This is the welcome screen in desktop version, the text is with align="center" and…
-
0
votes1
answer117
viewsQ: Doubts in code C data structure
Good afternoon, good I’m here to see if anyone knows why my code is printing a junk memory, when run it shows what I want but it prints a junk memory, if anyone knows why thank you #include…