Posts by manzetti.denis • 475 points
23 posts
-
2
votes1
answer560
viewsQ: Handling possible typos in emails (@gamail, @hotnail .)
Well, I have some problematic registrations because the user typed in: "josé@gamail.com". From what I saw in this answer, most servers have disabled a possible ping with reply if the email exists,…
-
0
votes1
answer230
viewsQ: timeout to $http request (search for 5 seconds, if not found, returns 'error')
I am setting up a $http request for zip code, it happens that sometimes the API takes too long to return a reply, and the user gets stuck to proceed at checkout. function worked, but when I tried to…
-
2
votes2
answers738
viewsQ: Problems trying to save to "POST" = "no-such-table" Django / Python database
I’m following a course by Python and Django, and the problem begins when the version in the course is 1.1.2 and mine is 1.8.2 I managed to generate a form to save "Events" however, when clicking on…
-
0
votes5
answers2964
viewsA: How to display a confirmation message when clicking delete from the grid option?
Try to use alert() follows the model I found in W3C: <button onclick="myFunction()">Try it</button> function myFunction() { alert("Hello\nHow are you?"); }…
vb.netanswered manzetti.denis 475 -
2
votes1
answer1573
viewsQ: Error "Insert value list does not match column list" with PDO
Hello, I’ve made a questionnaire, and it’s returning the following error: Error: SQLSTATE[21S01]: Insert value list does not match column list: 1136 Column count doesn't match value count at row 1…
-
1
votes1
answer3188
viewsQ: Wamp does not start mysql when restarting the PC
Every time I restart the PC, my Wamp won’t open the Mysql. I have to reinstall and end up losing my banks. The wamp server opens, but the icon turns yellow. this happened after I install…
-
-1
votes1
answer129
viewsQ: MVC/ OO events system
I’m writing my first PHP application. What I have been studying, I have chosen to learn Object Orientation and MVC. I’m building this application by following a book I have, and it’s returning the…
-
0
votes1
answer257
viewsQ: Displaying saved image in PHP database /Restaurant
$pdo->bindValue( ':img_prato' , $_REQUEST['img_prato']); = sw-profile.jpg How do I display the image, not the path? Insert.php <?php require_once 'usuario.php'; require_once…
-
1
votes2
answers1225
viewsQ: Change text on site according to time
Make a variable for each day. A function that is on the day of week X to find open schedules. Compare working time to current time show result. <p>Estamos abertos</p> <p>Estamos…
-
0
votes1
answer324
viewsQ: Handling CRUD Array PDO data
list-dish.php: <?php //inclui as bibliotecas require_once('conexao.class.php'); //faz a canexão $pdo = new Conexao(); // determina o numero de registros que serão visualisados $maximo = 20; //…
-
1
votes3
answers776
viewsQ: PDO paging - Problems with prepare(); select();
Hello, I’m having trouble printing table data. Updating: I inserted the following lines in the file php connection.: public function select(){ $sth = $this->prepare("SELECT id_prato, titulo,…
-
4
votes2
answers14345
viewsA: SQLSTATE[HY093]: Invalid Parameter number Insert problem
I managed to solve it this way: In the database, I changed the column id_prato for auto-increment. the code went like this: <?php Try { $pdo = new PDO('mysql:host=localhost;dbname=diner', 'root',…
-
5
votes2
answers14345
viewsQ: SQLSTATE[HY093]: Invalid Parameter number Insert problem
I need to enter through a form the following data: TITLE DESCRIPTION PRICE HTML: <?php session_start(); session_destroy(); ?> <html> <head> <meta charset="UTF-8">…
-
1
votes1
answer4052
viewsQ: DATA input mask: "00/00/0000" === '0 to 31' / '0 to 12' / '19 || 20' '0 to 9' '0 to 9' =
Hi, I need to make mine <input id="data"> has as parameters: taking into account the format of : 00/00/000; the first two from 0 to 31. (if you put value above, it resets to 31) the third: 0…
-
2
votes2
answers14523
viewsQ: Validating Form with JQUERY Validation + Masks
I am developing an html form validation plugin for CPF, ZIP, DATA, PHONE. I was able to find one that adds a method to CPF in Jquery Validation, but I’m having trouble editing the code and making it…
-
0
votes1
answer298
viewsQ: Scroll per section with side Gui
I would like to apply the following effect on a project, when the user uses the scroll, either up or down the scroll is made straight to the section below, needing a scroll roll and it goes to the…
-
0
votes2
answers228
viewsQ: Mobile site content with jQuery click
I would like to apply the following function in a project. When clicked on the button (that applied will be the menu button) the entire content of the site that is inside the div CONTEUDO-MOVEL…
-
0
votes2
answers313
viewsQ: addClass to an element above the hierarchy
Here’s a demonstration of what I’m trying to do.. HTML <div id="conteudo"> <div id="inner" class="move"> <div class="col-md-10"><a class="botao"…
-
1
votes1
answer211
viewsQ: Apple website effect
I would like to know what is called this effect of the Apple site, of when the user scroll, it jumps to the next section. Click here to see the effect.…
jqueryasked manzetti.denis 475 -
2
votes1
answer73
viewsQ: Create 2 elements influencing the same CSS
You can create a hover effect with two elements influencing one in common ? for example: #div:hover "ou" #div2:hover = #elemento{display:block;} I made myself clear ?…
cssasked manzetti.denis 475 -
0
votes1
answer211
viewsQ: Can you assign a function to several css rules in the same Hover, but with different values?
Can you do a css Transition, all triggered by the same element, but with different values? CSS: .co-la { background: none repeat scroll 0 0 green; height: 25px; left: -37px; margin: 0; width: 0%; }…
-
0
votes3
answers3942
viewsQ: Scroll on page adds "ACTIVE" class to menu
Hello, I’m having trouble getting jquery to add a class active to the menu Fixed at the top. anyone who wants to see the site to better understand follows the link. Site Safira I want the class to…
-
8
votes1
answer2736
viewsQ: Shoot animation with scroll
I tried to include the Fade function in the following elements, but was unsuccessful. The default that shown on the site is this. I want to apply this to tag <p> for when I scroll through…