Posts by goio • 751 points
79 posts
-
-2
votes1
answer21
viewsQ: Check function only returns empty
I made these two functions very simple to limit the characters and to see if the column in the empty database, for some reason only returns empty even having results. public function…
-
0
votes1
answer58
viewsQ: SQL query does not return even having values
I didn’t mean that Returns SELECT * FROM tbl_temporadas WHERE serie_id = '2' AND serie_slug = 'dois-homens-e-meio' AND temp_audio = 'l' Does not return SELECT * FROM tbl_temporadas WHERE serie_id =…
-
1
votes1
answer31
viewsQ: Leave fluid Ivs
I have the following structure <div id="container-header"> <div class="center"> <div class="content-header">content-header</div> <div…
-
1
votes2
answers34
viewsQ: Arrangement of grid boxes
I’m having difficulties to format the following grid, when I have several boxes, the format is correct. When only one box is added/shown, the grid picks up 100% of my father div, and I’d like it to…
-
1
votes1
answer44
viewsQ: Open modal and close the other
I need help that by clicking on a name open the screen to send messages, and by clicking on another name close the previous window and open the new one and so on <li><a…
javascriptasked goio 751 -
1
votes1
answer98
viewsQ: Grab a link id and create div on another page
Well, I’m trying to get id of a link that looks something like this home php. <ul class="nav"> <li><a href="#" id="o-v">Teste</a></li> </ul>…
javascriptasked goio 751 -
0
votes1
answer458
viewsQ: Get $_GET value with friendly url
I have the following situation, when the URL no values after bar http://www.meusite.com/ and I type something in the search http://www.meusite.com/?s=teste includes my result page, now when the URL…
-
0
votes1
answer34
viewsQ: How to concatenate js into php function
I have this class and function class Controller { public function vazio($verfica) { if (empty($verfica)) { return 'Vazio'; } else { return 'Ok'; } } } I call that function within the append it is…
-
0
votes1
answer19
viewsQ: Is there any tool for fluid site
Does anyone know of a tool that shows the size of the screen? for example as I decrease the size of the browser it shows me the screen size in px had a no github but I ended up losing…
responsive-layoutasked goio 751 -
1
votes1
answer32
viewsQ: href only works last box
I’m trying to make a simple accordion, each one will hold some x of links coming from the bank, but when I put the mouse on top of the links of the accordion simply has no action (the pointer nor…
-
0
votes2
answers108
views -
-2
votes5
answers304
viewsQ: because my class only returns NULL
people, where’s the problem? instantiating directly the classes validaNome and validaSobrenome they work, now in class msgContato they return NULL, where I’m going wrong? validationName class…
-
0
votes1
answer725
viewsQ: Uncaught Typeerror: Cannot read Property 'appendchild' of null
I researched about and they said it was because HTML was being loaded before JS vice versa, the solution was to change the place of the calls of the scripts, I pasted in everything that is place and…
-
1
votes1
answer29
viewsQ: help with Focus effect
what I need to do is make it work when the user presses tab also, something else has how to use pure js within jquery? <form method="post" id="form_log" class="form" autocomplete="off">…
-
1
votes1
answer19
viewsQ: select all records from the table stored in a Session
I want to store all the records of my tables within a session, when I call my records it only pulls 1 result class CRUD extends Config { private $query; private function prepExec($prep, $exec) {…
-
0
votes2
answers119
viewsQ: call include inside js
found a code that changes the url without refresh, but wanted to include two pages inside js according to their url, when I click html <ul class="nav nav-pills"> <li…
javascriptasked goio 751 -
0
votes1
answer125
viewsQ: recover url value without refresh
I’m trying to recover the value of url for $_GET with php, I am absolutely sure it is impossible not to give refresh, something else as I would pass the title of each page also? php <?php if…
-
1
votes1
answer73
viewsQ: filter Blur affecting other div
how do pro filter only affect the div of the background, in case the wrapper and also how to remove that edge that he puts? the goal is to only obfuscate the image ta so #wrapper { position:…
-
2
votes1
answer196
viewsQ: Overlay effect from bottom to top
how to make this effect stand out in this div by hiding as much as possible the bottom of the image, as if the div content_box had the background: #000 and was rising gently according to his height…
-
1
votes2
answers1025
viewsQ: Access private attributes of a class within another class
I started studying PHPOO and I’m having difficulty accessing the attributes of the class Pessoa that are private within the class Login, follows the code class person class Pessoa { private $nome;…
-
-1
votes1
answer279
viewsA: How to make GET requests without having to use question mark in the URL
Create a file called . htaccess and paste the following code RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteRule…
-
1
votes1
answer600
viewsQ: How to display error message and redirect in jQuery
I’m trying to display the incorrect data message via Ajax but I’m not getting it, what am I doing wrong? And the header is not redirecting Ajax $(".form_log").submit(function(){ $.ajax({ url:…
-
1
votes1
answer450
viewsQ: How to call the connection within a function
defines.php $HOST = "localhost"; $USER = "root"; $PASS = ""; $DB = "banco"; config.php function conexao(){ try{ include_once("defines.php"); $conn = new…
-
1
votes1
answer55
viewsQ: recover the record id in the table
I have no idea how to recover my table id without going through the form I have the following form NEWS <form method="post" autocomplete="off"> <div class="input">…
-
1
votes1
answer54
viewsQ: Div father of the Carousel is not in the center
I am unable to leave this fluid Carousel, as in the image below the div carousel ul not picking up 100% of the div sub-box which by default has 900px HTML <div class="box"> <div…
-
1
votes2
answers120
viewsQ: side by side accordion effect
I will have several accordions on the site, according to the categories, then I put them side by side, only when I click on one of the accordions, the ones that this side generates an undesirable…
-
1
votes1
answer19
viewsQ: open one modal and close the other
I have two modals, only I’m not getting one to close automatically when the other one is opened, what I’ve got so far is to do this CSS .mr{ position: fixed; top: 0px; left: -15%; background-color:…
-
0
votes0
answers41
viewsQ: Carousel does not work on android
wanted to know what’s wrong with that Carousel that on the desktop works perfectly, and in any other mobile device does not work HTML <div class="box"> <h1> <div class="b-slide">…
-
1
votes1
answer471
viewsQ: How to align Ivs side by side
I’ve tried everything and way to get these div aligned, on the desktop they are perfect, every line has 4 div computer visualization, now on android was to show 3 div by lines, but it did not work…
-
0
votes0
answers32
viewsQ: check if column already exists in the bank
how can I check if a field in my bank column already exists? I tried so however it is not returning anything error_reporting(E_ALL);…
-
1
votes2
answers114
viewsA: How to check whether data already exists or has remained blank?
this same insert with Pdo would look like this with the removal of spaces $host = "localhost"; $user = "seu usuario"; $pass = "sua senha"; $banco = "seu banco de dados"; $conn = new…
-
0
votes1
answer109
viewsQ: URL checks friendly and ajax
I am with the following problem, I made a URL friendly, but it is giving "conflict" when I use ajax in my Forms, when I click on Ubmit, it duplicates my site, my checks are like this…
-
0
votes2
answers149
viewsQ: How to get the Hover to overlap a div with overflow
I have a certain div that holds the boxes, and this div is with overflow:hidden, I wanted to open another div with a margin so negative bottom how much top, only then the suspended div did not…
-
1
votes0
answers66
viewsQ: Is there any way to get a column value from $_GET without being passed in the URL?
what I want to do and a system of related news, for now I have it home php. $noticias=$conn->prepare("SELECT * FROM `noticias` ORDER BY `id` DESC"); if(isset($nomeNoticia)||isset($slug)){…
-
0
votes0
answers130
viewsQ: How to check if the page exists?
URL when the person is on the page to choose the episode can be http://www.localhost/seriados/serie/the-walking-dead or http://www.localhost/seriados/anime/the-walking-dead URL when the person is on…
-
-1
votes2
answers314
viewsQ: count repeated fields from a column
As I could count the repeated fields of my table, I tried so more did not work: Hold the name of the generous $generos = mysqli_query($conn,"SELECT * FROM `generos`"); while($res =…
-
0
votes0
answers51
viewsQ: mistake I can’t explain the name or the cause
I believe it is not an error, more a ma structure in the checks of the pages recently adapted a friendly url on my site, then I decided to implemtar a search system with ajax, in the home of the…
-
0
votes0
answers30
viewsQ: comma to separate a column within an array
I wanted to separate each name by commas inside an array, I tried so no more echo '<h1>'.$nomeTemporada.'° Temporada</h1>'; if(isset($_GET['id_temporada'])){ $id = $_GET['id_temporada'];…
-
1
votes1
answer55
viewsQ: menu marked according to php page
someone has some idea of how I can leave the menu marked according to the user’s page, I made a way here, however and much check, taking into account that I have several pages, vo posted as I did…
-
1
votes0
answers40
viewsQ: Display content from two tables in a accordion for your ID
I have two tables: the first is temporadas, that hold only the name of the season. Example: Primeira Temporada, Segunda Temporada, etc.. I have another table that holds each episode for its season.…
-
1
votes1
answer114
viewsQ: menu sending the first read to last read
have a menu with submenu, and that submenu takes 100% of the div pai that is 900px, as li pai stay in the center, I wanted to send them to the right I gave a float: right in #wrapper #top .menu ul…
-
0
votes1
answer40
viewsQ: Formwork for different screens, some do not work
wanted to know if the media queries has higher order for less or vise versa, because I format in a specific size works right, then I will format to another screen the previous fails to work vise and…
-
0
votes2
answers193
viewsQ: arrange automatic paging
this paging is working perfectly, there is only one thing, when the person dies until the end it brings the last record of the bank everything right, then it keeps showing the message of…
-
1
votes2
answers44
viewsQ: how to use max-height and display table
I have a div that her width and height is according to the content, and I need to leave her in the center of the page, I’m having trouble with the max-height, it just doesn’t work, the min-height…
-
0
votes1
answer31
viewsQ: take the margin from the google feed
Is there any way to get that margin-top google source? I know you have a property that distances or approaches the source letter-spacing, but that’s not what I need, I just wanted to take this…
-
0
votes0
answers47
viewsQ: click on a link and display an html code in a textarea
how I would do for when I click on a certain link for example <a href='javascript:void(0)'>Capitulo</a> display in a textarea the tags <strong></strong>, among other link’s…
javascriptasked goio 751 -
0
votes2
answers167
viewsA: Problem with mysql_query, the data does not fall in the SQL database.
`$host = "localhost"; $user = "seu usuario"; $pass = "sua senha" $db = "seu banco de dados"; $conn = mysqli_connect($host,$user,$pass,$db);` `$sql = "INSERT INTO…
-
0
votes1
answer228
viewsQ: triangle effect in div with css3, how is it?
wanted to know if you have how to leave a similar div with that effect, if you have how someone can give an example? I have no idea where to start…
-
0
votes0
answers813
viewsQ: function to decrease and increase volume (HTML5 audio)
Hello, I have a function that decreases and increases the volume of the music, only I’m in trouble, the mouse does not follow the span that makes the function to increase and decrease the volume,…
javascriptasked goio 751 -
0
votes2
answers1561
viewsQ: change the name of the javascript button
I’m trying to make a player, and I can’t use icons, I have to do everything on one page, I can’t change the text of the button to Pause when the audio is running and Play when the audio is paused,…
javascriptasked goio 751