Questions tagged as 'html'

1
answer

Search Database in PHP

I have a database with 3 tables and I need to know if in table A (for example) the field type is 0 it will fetch data from table B, if it is 1 it fetches data to table C. And I have the following code that came in the site (when I got it),...
asked by 25.06.2015 / 11:56
1
answer

Hover problem in system rating

Good evening, And the following made a rating system for my site it is working well just missing something that I am not able to do. I have a rating of 1 to 10 which looks like 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5 and 5 this is just working wa...
asked by 04.05.2015 / 23:41
1
answer

For + slideToggle in Jquery does not work

Can anyone explain why my code does not work? I do not know exactly how many divs will generate, but the maximum is 25. So I wanted each click button to specifically open the div "glue" attached to it. In my thinking, I put a...
asked by 06.05.2015 / 20:34
1
answer

Add column category

Hello, I have this code and I would like to add only the "CREDIT" category to someone from a force to my friend here. $(document).ready(function () { var $entrada = 0, $saida = 0, $total = 0; $.each($("td[name...
asked by 06.05.2015 / 05:40
1
answer

Fill in several input fields with values from other fields

I have three rows with four fields input of type time , and I want to create a button so that the two rows below can be filled equal to the first one. I'm following this SOen response , and adapted to catch by classe inst...
asked by 07.05.2015 / 21:14
2
answers

Problem with PDO connection and mysql_query

Hello, I created the connection.php file as follows: <? $conn= new PDO("mysql:host=localhost;dbname=site", "root", ""); $count = ('SELECT * FROM conteudo'); $stmt = $conn->prepare($count); $stmt->execute(); $result...
asked by 08.05.2015 / 05:21
1
answer

manipulate another webpage via javascript

is the following, I need to access a site and search through my page. I'm trying this way: <html> <script type="text/javascript" src="js/jquery.js"> </script> <div class="news"> <iframe src="http://alelo.com.br/con...
asked by 29.05.2015 / 16:53
1
answer

Keep spacing between elements but no spaces between Tags

I'm removing% whitespace from my Todos files in order to have a good size reduction (on average 5%), but when I do, whitespace is removed between elements when HTML is rendered in the browser like this: Signedwithredarrowswheret...
asked by 31.05.2015 / 17:16
1
answer

Onchange with double value

Is it possible to get the values of each option in a combobox? Something like this: <form action=""> <select name="customers" onchange="Publicidades(this.value, 0)"> <option value="" id="teste">Escolha o utilizado...
asked by 20.04.2015 / 00:47
1
answer

Images do not line up on the table

I have this code: <!DOCTYPE html> <html> <head> <title>Figuras em tabelas</title> </head> <body> <h1 align="center">Montando figuras com tabelas - 1</h1> <table border="0" c...
asked by 28.04.2015 / 15:22