Posts by Hebert Richard Masseno Dias • 291 points
20 posts
-
0
votes1
answer86
viewsQ: Take array data and update to table
Good morning. I’m making a INSERT in the bank via PHP, with data coming from a SELECT MULTIPLE. The data of this SELECT comes from a bank table: HTML: <select name="numerosdasorte[]"…
phpasked Hebert Richard Masseno Dias 291 -
1
votes1
answer75
viewsQ: Add, Subtract, Extract Subtotal and Final Total with Javascript/Jquery
How to subtract the value of the "subtotal" field and how to sum all "subtotals" to generate the final total of this code? <div class="row"> <div class="col-md-2"></div> <div…
javascriptasked Hebert Richard Masseno Dias 291 -
0
votes2
answers135
viewsQ: Add and Multiply values without refresh from button and input
Good afternoon. I need to do a calculation without refresh, but I’m encountering difficulties. I’ll try to explain this in the image below: <script type="text/javascript"> var xazul = 0;…
javascriptasked Hebert Richard Masseno Dias 291 -
-1
votes2
answers212
viewsQ: PHP percentage calculation and save to Database
I’m trying to make a calculation before sending to the database: <?php session_start(); require_once 'config/init.php'; require 'config/check.php'; ?> <?php require 'config/conexao.php';…
-
0
votes0
answers552
viewsQ: Problems opening *.FDB file by Ibexpert
Good morning! I’m trying to pull a database from an old system to read the information. I downloaded and installed Ibexpert, but while trying to open the file I get the following error: "Unsupported…
firebirdasked Hebert Richard Masseno Dias 291 -
0
votes1
answer458
viewsQ: I want to increase sending (time) to upload files
I have a script that works very well, which uploads multiple images and even inserts watermark. The question is this: On the server, I can put 300s in the MAX_EXECUTION_TIME, and 30 files to upload.…
phpasked Hebert Richard Masseno Dias 291 -
0
votes1
answer475
viewsQ: Error trying to insert - Call to a Member Function prepare() on a non-object
I am trying to check before if a field is repeated in the database, but while running the file I get the following error: Fatal error: Call to a member function prepare() on a non-object in ***** on…
-
0
votes2
answers397
viewsQ: Carousel Bootstrap with images coming from server folder
I have the following code: <div id="myCarousel" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#myCarousel" data-slide-to="0"…
-
1
votes1
answer867
viewsQ: How to save data from a checkbox to a MYSQL field
Good night. I have some checkbox fields, I want to save the selected data in only one field in the Database. Part of the form: <div class="form-group"> <label class="col-md-4 control-label"…
-
5
votes2
answers1719
viewsQ: How to search two words in the same Mysql field
Good morning. I have a field on my table called tags, would like to do a search, where two or three words can be considered. Example: In the field tags, I have some words, like "free", "cabins",…
-
0
votes1
answer398
viewsQ: Update input with data from an iframe automatically
I have the following code: mudarfoto.php <div class="box-body"> <center><h4 style="padding:5%">Vamos trocar a imagem da seção projetos?</h4></center> <?php $hostdb =…
javascriptasked Hebert Richard Masseno Dias 291 -
0
votes2
answers76
viewsQ: Fetch input value from another php file
I am uploading images to a server folder using the following code: <iframe width="600" name="frmfoto" height="300" frameborder="0" src="teste2.php"></iframe> <script…
phpasked Hebert Richard Masseno Dias 291 -
1
votes1
answer88
viewsQ: Move DIV when opening Nav menu Jquery Bootstrap
I would like to move the div below the menu, so I choose some option from it. var cbpHorizontalMenu = (function() { var b = $("#cbp-hrmenu > ul > li"), g = b.children("a"), c = $("body"), d =…
-
3
votes2
answers944
viewsQ: Menu, submenus Dynamic NAV Bootstrap with PHP PDO Mysql
Good night. I need to assemble a dynamic menu, of three tables, that need to be interconnected, but I’m lost. Follow a part of the organization chart below: At the moment, I have the following code:…
-
0
votes1
answer395
viewsQ: W3C seal for my websites
Good night. When talking to friends, I was told that it would be interesting to put the W3C validation label on the site. The fact of having the label, in addition to making the site lighter and…
-
0
votes1
answer473
viewsQ: Take external variable value and play in an input
I have an image upload, which has a variable called $nome_atual, where the file path is stored. I need to take that amount and play in one input, on another page. It is possible? PART OF UPLOAD.PHP…
phpasked Hebert Richard Masseno Dias 291 -
0
votes1
answer293
viewsA: Send an ALERT to a UNIQUE field in Mysql
I resolved so: <?php require 'conexao.php'; $nome = addslashes ($_POST['nome']); $foto1 = addslashes ($_POST['foto1']); $cpf = addslashes ($_POST['cpf']); $rg = addslashes ($_POST['rg']); $email…
-
1
votes1
answer293
viewsQ: Send an ALERT to a UNIQUE field in Mysql
I have a field in the BD set as Unique, to avoid duplicate registration. Works perfectly. I wonder if there is a way to personalize this message, with an Alert, for example. My code: <?php…
-
0
votes0
answers493
viewsQ: Run automatic Javascript event, with data from an iframe
In a form, for sending a photo, I use an iframe. This is responsible for uploading the photo and sending it to the Server folder. When I hover over an input on my other page (onMouseOver), I get the…
-
1
votes1
answer764
viewsQ: Boostrap menu with two lines
Is it possible to create a menu in Boostrap using two lines? I have several items to put in a menu, I’m decreasing the font, I took up the logo, but I didn’t like the result. I would like to have 2…
bootstrap-3asked Hebert Richard Masseno Dias 291