Posts by Risk • 368 points
31 posts
-
-2
votes1
answer67
viewsA: Why do Electron applications boot faster the second time?
I’ll assume you’re using windows. The computer on the dial, it’s like a newly qualified driver trying to make a trip he doesn’t know about. This driver MAKES the trip, but has its difficulties: Make…
-
0
votes0
answers106
viewsQ: how to use an Asset of a package in Laravel without copying to the public folder
I created a package Modular that is already working, However I am barred at the time of using assets. Not using the command php artisan vendor:publish I can’t get access to {{asset…
-
1
votes1
answer606
viewsA: Laravel Database name error seems incorrect how to resolve?
The solution to this problem was to cache the Laravel: php artisan config:cache immediately became perfect.
-
-2
votes1
answer606
viewsQ: Laravel Database name error seems incorrect how to resolve?
I recently created a Previder service, which kind of works. however when I will capture the database data using Produtos::all(); I get the following error: Database name seems incorrect You’re using…
-
0
votes3
answers96
viewsA: System not identifying encrypted password
<?php include("admin/bd/config.php"); if (isset($_POST['username']) && isset($_POST['password'])) { $username = $_POST['username']; $password =…
-
-1
votes3
answers96
viewsA: System not identifying encrypted password
<?php include("admin/bd/config.php"); $sql="SELECT * FROM authme WHERE username='".$_POST['username']."'"; $resulta = mysqli_query($con,$sql); if…
-
0
votes1
answer79
viewsA: How can I put another slide like this without conflicts and the two work?
For it to work, it’s important that the css is above the html, and that the javascript is below the html. Getting like this: css-html-javascript CSS - 01 <style type="text/css"> a,img {…
-
0
votes1
answer49
viewsA: How to Insert MYSQL if Upload or URL
here is a schema for copying files between servers <?php $url_download = $_POST['campourl']; $salvar_em = 'arquivo.jpj'; //inciando download copy($url_download, $salvar_em); //download finalizado…
-
1
votes2
answers123
viewsA: update div with checkbox value marked
$(document).ready(function(){ $('#id_checbox1').on('change', function() { var ckb=this.checked; if (ckb…
-
0
votes1
answer139
viewsA: How to change the name of the button if user has registered - LARAVEL?
add that to your javascript code file, $(document).ready(function () { //escolhendo o formulario pelo ID $('#id_do_formulario').submit(function(e) { //evitando que a pagina seja recarregada…
-
1
votes2
answers730
viewsA: Check URL from Document.referrer
var x = Document.referrer; var rfr = document.referrer; //mostrando o link em um alerta alert(rfr); //mostrando o alerta no html de uma div $('#ssss').html("O link visitado anteriormente foi : "+…
javascriptanswered Risk 368 -
1
votes1
answer50
viewsA: Error installing textract library with Conda
The use of the package/package jeepney and textract do not work simultaneously. mainly after updates. Uninstall one, if it doesn’t work, uninstall the last update.
-
-3
votes3
answers131
viewsA: Make a request on the server with 2 parameters
Friend, on line 6 it’s like this: $jogo=intval($_GET['jogo']); change this part leaving so: $jogo=$_GET['jogo'];
-
0
votes1
answer484
viewsQ: MYSQL numeric alpha code
I want a code INTERNALLY in Mysql a random code, with 2 letters,1 number, 1 letter, 2 numbers AB-1A-21 - DA-2B-35 - CI-3U-23 how to proceed ?
-
-1
votes1
answer485
viewsA: Post request using Curl
requisicaoCurl.php <?php //RECEBENDOOS VALORES dos campos usuario e senha, e armazenando em variaveis, $user $password $user=$_POST['usuario']; $password=$_POST['senha']; //EXIBIR OS VALORES DO…
-
0
votes1
answer384
viewsA: Dropdown menu does not appear - Laravel Project
MAKE SURE IT’S RIGHT <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>@yield('titulo', 'PetShop do Amigão')</title> <style media="screen">…
-
1
votes3
answers143
viewsA: C# - Know location of database file dynamically
REFERENCE TO THE APP FOLDER. E:\PAP\aplicativo.exe '|DataDirectory|\' is the folder in which the 'aplicativo.exe' is. CASE 1: '\aplicativo.exe' and '\Trabalhos.mdf' are in the same folder THAT IS TO…
-
3
votes7
answers7167
viewsA: How to receive the CPF number and format to be without the dots and dash(Input Mask )
var variavel=$("#campo").val();//atribui o valor a variavel var variavel2 = variavel.replace('.', ''); //remove UM ponto var variavel2 = variave2.replace(',', ''); //remove UMA virgula var variavel2…
-
1
votes2
answers255
viewsA: Return the highest value between columns and the row ID of that highest value
SELECT campoid,campovalor FROM TABELA ORDER BY campovalor ASC LIMIT 1 the code above, select id and valor, defining that it will sort from the highest to the lowest value, but is limited to a…
-
1
votes2
answers336
viewsA: Social button login Google and Facebook round
add this class to your css. then add it to the item you want to round. .itemredondo { font-size:24px; width:40px; height:40px; line-height:40px; display:inline-block; text-align:center;…
-
1
votes2
answers120
viewsA: side by side accordion effect
If you are using Bootstrap: add to <objeto class="p-0 m-0"/> if not using bootstrap: no add item margin:0px !important; padding: 0px !important; the class used by the element. or…
-
-1
votes2
answers150
views -
1
votes3
answers73
viewsQ: Requisicao ajax - query parameter
on a page I have this field filled with the value "SP" <input id="campo" value="SP"> In php I have parameter <?php echo $_POST['estado']; ?> to process this field via ajax I would use…
-
0
votes2
answers83
viewsA: How to disable the Woocommerce CSS from the zero theme I created?
inside the head tag (The last line), paste this by editing the css file name <?php $css=mt_rand(); echo ' <link rel="stylesheet" href="pasta/Seutema.css?'.$js.'"> '; ?> HTML looks like…
-
0
votes1
answer135
viewsA: problematic mysql query
SOLUTION WAS TO AMEND THE CONSULTATION $sql="SELECT id,nome,cnpj FROM tbl_postos WHERE cnpj='".$login."' AND admsenha='".$senha."' AND ativo='".$atividade."' OR telefone='".$login."' AND…
-
-4
votes1
answer135
viewsQ: problematic mysql query
have the following data admlogin: admin1 admpassword:admin admlogin: admin2 admpassword:admin admlogin: admin3 admpassword:admin <form action="#" method="post" id="frm_login_p"…
-
0
votes2
answers351
viewsA: Inserting data into the database via PHP OO
for the form, give a name and action the form object will look like this: <form method="post" name="NomeDoFORM" action="ArquivoInserir.php"> </form> php does not know what a 'id=' php…
-
0
votes2
answers228
viewsA: Dropdown menu bootstrap
I can not comment. more I will try to help: Understand P-X as occupied space Understand M-Y as vacant space around. <ul role="menu" class="dropdown-menu p-X m-Y"> <li class="menu-item…
-
0
votes2
answers1357
viewsA: How can I show database value in real time?
I’ll start by putting my finger on what I think is wrong. What reason would anyone have to show only the amount of registrants? I think I’m wrong.I think I want to count users with a given name if…
-
0
votes1
answer34
viewsA: placeholder for sql varchar
In Sql, information is separated by a point and comma. ; INSERT INTO reciclagem_data (personID, nome) VALUES (%s,%s) ('Valor1','valor3') ('Valor2','valor3') ('Valor3','valor3') check your shipment…
-
0
votes1
answer705
viewsQ: Load Link in Modal
Run the code - The explanation ta on execution. then read the code document.getElementById("edt").style = "block"; $(document).ready(function() { $("#LinkChamar").click(function() {…