Posts by ChrisAdler • 1 point
170 posts
-
-2
votes2
answers33
viewsQ: Laravel : Form and fetch the ID
Is there any way to fetch the ID (to store in the BD) and the name for the user to select ? <option selected>Escolher Capitulo</option> @foreach($capitulos as $cap) <option…
-
-2
votes1
answer206
viewsQ: Laravel : Add fields in two tables (Related Tables)
I have a problem in Laravel where I have two related tables. I have a form for Tabela1 (Chapter) and a form for table 2 (documentation) I can add "Chapters" without interfering with the other table.…
-
-1
votes1
answer35
viewsQ: Laravel - Controller - Show data from two tables
I’m having trouble showing data for two related tables. Controller: public Function index(){ $tabela = capitulo::orderby('id', 'desc')->paginate(); $tabela1 = documentacao::orderby('id',…
-
0
votes1
answer34
viewsQ: How to display data correctly in a datatable
I need some information about running two tables through the index. I have the following code in the controller: public function index(){ $tabela = capitulo::orderby('id', 'desc')->paginate();…
-
0
votes0
answers30
viewsQ: ASP.NET Signinmanager error
I have error in Visualstudio in Signinmanager. private readonly SignInManager<Utilizador> _GerirLogin; I have another private readonly to be used and have no mistake: private readonly…
asp.net-mvcasked ChrisAdler 1 -
-1
votes1
answer15
viewsQ: Convert datatable to Json
Datatable data can be stored in JSON? I have this code: public List<AgendaModel> MostrarTodosCalendar() { List<AgendaModel> lista = new List<AgendaModel>(); AgendaModel item; DAL…
-
1
votes1
answer960
viewsQ: Error The type or namespace name 'Model' could not be found
I’m getting the error message below on instruction @model FuncionarioModel Error: The type or namespace name 'Funcionaiomodel' could not be found (are you Missing a using Directive or an Assembly…
-
-1
votes1
answer503
viewsQ: Delphi - Join PDF files
I need the following process to be able to join some PDF files. procedure Tservermain.reportmaster_relatorioReports(Sender: TObject); begin with reportmaster_relatorio.Reports do begin…
-
1
votes1
answer76
viewsQ: PHP Error Message After Login
I need your help trying to solve a little problem. I have a login page and after clicking SIGN IN goes to another page validalogin.php validate the login. Whenever the user fails the login the user…
-
1
votes0
answers74
viewsQ: PHP login Mysqli Error
I’m developing a platform and on the Login I have a problem. The page index.php has the login form(Email and password). I’m having trouble comparing the entered data with the BD data. require_once…
-
0
votes1
answer53
viewsQ: PHP - Display correctly entered data message
I’m having difficulty putting a message saying : Data entered successfully and then send to another page. <?php include 'ligacao_pdo.php'; $condutor = $_POST['condutor']; $carro =…
-
2
votes1
answer150
viewsQ: function if - true copy cell and glue in another
I need a little help. I have an excel sheet and I want to do the following: In this capacity = SE(F10=O11;Copia valor celula G2 e cola na celula G10;"falso") I want to make a comparison and if true…
-
6
votes1
answer3103
viewsQ: Excel - VBA sum +1 to line
I have a question . I’ve been testing the macros to fill out a database but I’m having a problem. ID - Name ZZ1 - A ZZ2 - B How do I add this automatically? (now ZZ3) I have the following code that…
vbaasked ChrisAdler 1 -
-1
votes2
answers902
viewsQ: Excel form (Block fields)
I have a question about what formula I can use. I have a box with 3 options (Example: 1 , 2 , 3) and if I select the option 1 I can fill in the field 1 and are blocked options 2 and 3. If you select…
-
0
votes1
answer200
viewsQ: VBA Error when displaying data from a Worksheet
I’m experimenting VBA and managed to add data to a BD in sheet 2. And now I tried to do to show the data on sheet 1 where I choose the ID and it shows the data entered there, but it’s giving me a…
-
1
votes1
answer45
viewsQ: Delete row from grid (BD) website C#
Good, I need a little help because I’m building a web page that shows BD data on a grid. I put the Update and delete button. I managed to change the BD via the web. But I’m having trouble deleting…
-
0
votes0
answers80
viewsQ: Show query output within a C# Website textbox
I have a little doubt about showing a query. On my website I want to show the result of a query. For example: Number of employees: [and here appear the total] I’ve got the comic book connections…
-
0
votes0
answers49
viewsQ: Update BD Website
I need help because I’m making a website where : I show the values of the BD lines and have the option to update the data via Web. When I try to update it gives me the following error: Description:…
-
3
votes1
answer9329
viewsQ: Excel - Create QR Code with 4 cell data
Good, I am trying to create a document in Excel that will fetch the entered data for example (B1, B2, B3, B4) and with this data generate a Qrcode. I don’t have any software yet that creates Qrcode.…
-
0
votes2
answers126
viewsQ: Swift Way to display variables
I’m finishing a small project to learn Swift but there is a small problem in joining more variables in the output. @IBOutlet weak var Nome: UITextField! @IBAction func CalcularIMC(_ sender:…
-
0
votes1
answer61
viewsQ: IOS - Swift Nsstring
Good, I’m making an app where I’ll measure users' BMI. I created the layout but in the code I’m having problems. I have a button that when sliding changes the value of height or weight. var w:Float…
swiftasked ChrisAdler 1 -
6
votes1
answer1270
viewsQ: Calculate cubic root
I’m having trouble creating the following Root and LN buttons. I have buttons that should be very similar as for example the normal square root and the log. I tried to create the following for the…
-
3
votes2
answers410
viewsQ: Factorial C# Calculator
I’m building a calculator in C# and I’m having a little problem constructing the button that calculates the factorial. private void btnfact_Click(object sender, RoutedEventArgs e) { primeiro +=…
c#asked ChrisAdler 1 -
0
votes2
answers47
viewsQ: html Javascript does not accept empty data
Good, I’m having trouble with an html form where the data doesn’t go empty to the comic. I have Javascript but it is not working correctly. Jsfield: https://jsfiddle.net/ogr6oa0t/ Code: <form…
-
1
votes2
answers9722
viewsQ: Square root C#
Boas, After the tips of the users I decided to improve my C# code of the calculator. I think it’s simpler but I have a little problem in the square root because I try to do the math and the result…
c#asked ChrisAdler 1 -
3
votes1
answer1975
viewsQ: Calculate square root in C#
I have a calculator made in WPF C# with basic operations +,-,*,/, % . And now I wanted to try to improve my calculator. namespace calculadora { public delegate float? dlgoperacao(float? a, float?…
-
0
votes1
answer401
viewsQ: PHP update SQL Nothing Happens
Great, I need some help. I’m around this problem for almost a day. In this code that updates the data to phpmyadmin does not change anything but also does not give me any error. <?php //…
phpasked ChrisAdler 1 -
0
votes2
answers137
viewsQ: Number of entries in SQL PHP
Good, I have a question about showing the number of records in a given table. SELECT COUNT Nome FROM `tb_utilizador` I want to show the number of records in a php table. <?php…
-
3
votes2
answers185
viewsQ: Javascript not working in HTML
Good, I need a little help here. I tried this code on my computer in an HTML page and it doesn’t work , but in fiddle(https://jsfiddle.net/uxrkgfoz/) It works perfectly. Am I missing anything ?…
-
3
votes1
answer130
viewsQ: Login PHP if Admin
Good, I have a question in the code I’m doing. I want normal users to see one page but if it’s login admin, it will end up on another page . $login = mysql_query("SELECT Nome, Password FROM…
-
1
votes1
answer1208
viewsQ: Validate PHP login
Good, I’m trying to log in to the small project and I’m having a hard time in case $login is correct go to shopping.html if it is wrong login or password appears wrong. $login = mysql_query("SELECT…
-
1
votes1
answer271
viewsQ: Javascript table to fetch data
I’m making a page where I want to make a kind of simulator and I’m having difficulty in one of the table zones select a name and in the following column appear a price that I put.…
-
3
votes3
answers41
viewsQ: Pointed from Pointed C
I have a doubt about this : **ptr I can understand everyone else (ptr++, &ptr, *ptr) I don’t know the best way to understand how it works **ptr (Pointed.) Thanks to those who can clarify me is…
casked ChrisAdler 1 -
4
votes3
answers1667
viewsQ: Function to format dates
I have a question regarding Javascript . I want to create a function where you get a date and then you can show it as you like. for example YYYY/MM/DD or DD/MM/YYYY or any other way. I have the…
-
0
votes2
answers105
viewsQ: For rule in C
I have a doubt about the cycle being , that is, I have an instruction for and I have to get the result that the machine gave. have this : for(x=2,Y=1;X < 11;x++)y+=x++ I know the X variable…
-
3
votes2
answers65
viewsQ: Incremental result?
I have a doubt about this expression: y-=++x I can divide this expression in two? x= x+1 and then?
-
1
votes2
answers2566
viewsQ: Redirect Internal/external ip page
I have an HTML page and can already view it internally and externally through the iis of windows server 2003. I am inside a network where Windows server2003 is connected and I want to access the…
-
1
votes0
answers28
viewsQ: FTP Rush Safe Mode
I’m having a problem using Ftprush. on the site that has been created there is a safe and other unsecured mode. I currently use the Protocol "SSH FTP" I tried to get in another way and I can’t with…
-
2
votes2
answers415
viewsQ: HTML file download Excel
I have a problem with downloading excel. In PDF I have so: <a href="RH/Exemplo.PDF"> tried to put the same way in excel and does not work. <a href="RH/Exemplo.xlsx"><img…
-
4
votes2
answers74
viewsQ: Image with text
I wanted to do something like this: The square is an image. I tried to do with table but it doesn’t look like this.…
htmlasked ChrisAdler 1 -
8
votes3
answers17275
viewsQ: Error #1062 - Duplicate entry '1' for key 'PRIMARY'
I was trying to put one of my tables as primary key. As soon as I try to get the message: #1062 - Duplicate entry for key 'PRIMARY' The data are filled in and are more or less like this: I tried to…
-
1
votes1
answer96
viewsQ: Error This table does not contain a Unique column
When viewing the tables shows me this message: This table does not contain a Unique column. Grid Edit, checkbox, Edit, Copy and Delete Features are not available. I cannot change mysql data. You do…
-
1
votes0
answers50
viewsQ: Access phpMyAdmin remotely
I’m having trouble accessing the phpMyAdmin external page. This is the first time I’ve tried to access it because it’s on an external server. There’s a user who can get in without any difficulty and…
phpmyadminasked ChrisAdler 1 -
0
votes1
answer37
viewsQ: Creating tabs without rectangles
I need a little help. I have these tabs that are working, but visually I don’t like the rectangles where I click and I wanted to change. Original: http://jsfiddle.net/f6jk903s/ I want to remove the…
-
2
votes1
answer166
viewsQ: picture size depending on screen size
I have a question on an HTML page I created. The whole page depending on the large or small screen automatically adjusts the size. Now the only thing I can’t do the same is Image. I wonder if you…
-
2
votes2
answers898
viewsQ: Format tabs from an HTML menu
I created a tab but I would like to make a few minor changes that I cannot. I would like to replace this area for example with circles instead of text: How can I do it? $(document).ready(function()…
-
0
votes1
answer356
viewsQ: HTML version of IE
I’ve been looking at some codes on a website and I was wondering if it’s possible to do this Here any IE is emulated with 8 Now my question is: It is possible to create this code as follows. If you…
-
1
votes1
answer337
viewsQ: jQuery html with load()
I am trying to use this Jquery function but it is not working properly because it shows me nothing. <script> $("#minha_div").load("Noticias.html"); </script> <div id="minha_div"…
-
0
votes2
answers1947
viewsQ: iframe alternatives
I would like to know the alternatives to replace an iframe. I have this code: <iframe src="noticia.html" width="550" height="400" scrolling="auto" style="position: absolute; left: 2%; top:…
-
1
votes1
answer190
viewsQ: How to show certain data depending on who logged in
I have a question about login for several people. I have this code: <?php include("conectar.php"); $usuario = $_POST['usuario']; $senha = $_POST['senha']; $query = " SELECT count(*) FROM usuarios…