Interesting questions
-
3
votes1
answer58
viewsI have a local BD in c# sql. When I went to install the client gave the following error
Someone could help me? I installed my project in the client with local database, I took the bd along and such , but gave this error:…
c#asked 10 years, 11 months ago Rennan Hanna 107 -
3
votes1
answer353
viewsIs there any way to discover an error occurred in json_decode?
Well, PHP has one thing I sometimes consider bad: Some functions launch Warning when some error occurs, and already others, return False or Null. A case that exemplifies this is the fopen.…
-
2
votes1
answer77
viewsBasic doubt in Linkedlist - Java
If I have a Linkedlist called List that has size equal to 0, I can add an element at position 4 of it, for example?
-
-2
votes1
answer58
viewsI am trying to create a sketch of deleting items from a list. The data that will be deleted is the input() that will determine
objetos = ["1", "2", "3","4", "5", "6"] escolha_cliente = input("ESCOLHA OS ITENS OU DIGITE FIM PARA NAO ESCOLHER NENHUM: ") if escolha_cliente.isdigit(): escolha_cliente =…
-
1
votes2
answers241
viewsDelete button crashes
I have two buttons on my table, the edit and delete button: <td><button type="button" name="edit" id="<?php echo $produto2["Id"]; ?>" data-target="#add_data_Modal2" class="btn…
-
0
votes1
answer126
viewsHow to port a Javascript Web server to a Windows executable?
I am new to Node.js, and developed a server using express to send files between computers on the same network, but I can only start the server on the computer that will receive the file if it has…
-
1
votes1
answer109
viewstextbox value for another textbo using Tabcontrol and Tabpages
I’m using in a form one TabControl, three-page. In the TabPage1 have a TextBox (seller), I need to take the value of this Textbox to another TextBox who is in the TabPage3. How can I do this between…
-
1
votes1
answer293
viewsHide or display button through a ifelse with data from a foreach
Guys I have this code, and the following, I need to print or hide a button according to the result of foreach, example if it is empty I want it to hide the button, if you have any item it shows the…
phpasked 8 years, 9 months ago Bruno Roberto 71 -
9
votes2
answers215
viewsWhat are the alternatives for mcrypt_* functions?
The functions of the type mcrypt_* were discontinued in PHP 7.1.0 and removed in PHP 7.2.0 as shown in manual: Warning This Function was DEPRECATED in PHP 7.1.0, and REMOVED in PHP 7.2.0. I was…
-
0
votes1
answer83
viewsWould this class relationship be correct?
I am currently studying about classes, more specifically class/UML relationship and I am doing it in C#. I would like to know if this code I wrote below is the most suitable or if there is a…
-
4
votes1
answer616
viewsThread problem
public class ThreadTest implements Runnable { private String word; private long time; public ThreadTest(String word,long time){ this.word = word; this.time = time; } public void run() { try {…
-
0
votes1
answer25
viewsSELECT in PHP only returns from the second INSERT of the same user
The result of the following SELECT <?php include_once("conect.php"); $id = filter_input(INPUT_GET, 'id', FILTER_SANITIZE_STRING); $result_usuario = "SELECT * FROM produ_usu WHERE id = '$id'";…
phpasked 5 years, 9 months ago user60252 -
3
votes1
answer313
viewsRegex to capture spaces, except within quotation marks
I would like a regular expression (PHP) to exclude double spaces out of quotes. update tabela set¬ nome='alberto da silva',¬ telefone='1234'¬ ) I want to capture double spaces, enters, tabs out of…
-
1
votes1
answer47
viewsChanging pages according to the searched field
I am trying to make a pagination according to the value searched in the field "Search Access". Paging usually works with all the values of the bank, but when I search for certain access it shows the…
phpasked 7 years, 3 months ago Diego Souza 43 -
1
votes1
answer50
viewsHelp with view
I need to show two categories in one view. I tried the way below, but without success: public function index() { return View::make('Titles.IndexFutebol')->withType('time1')->withType('time2');…
-
-1
votes1
answer17
viewsDiv Relative Inside tag Center Inside Div Fixed
I want to leave paginations in the center of the div and grow centrally, but this div has to be fixed so I thought to leave inside another div relative inside other relative does not fit with the…
-
1
votes1
answer1326
viewsHow to keep Scroll in last position after page refresh
I made some attempts, but I was unsuccessful... The priority is that it be in pure Javascript... But since I could not, I tried with jQuery also. The situation would be, each time the user increases…
-
-1
votes1
answer121
viewsConnect Laravel to Mysql
I’m trying to develop an Laravel application with Docker My Docker-Compose.yml file looks like this: version: "3.3" services: mysql: image: mysql:8.0.1 container_name: mysql environment:…
-
-1
votes1
answer21
viewsWhy is the data coming from the form only displayed after the resubmission of the form?
I am developing a task manager. Obviously I need a task add function. function loadInputForm () { global $title, $status,$description, $date; if($_POST){ $title = filter_input(INPUT_POST, "titulo");…
-
0
votes2
answers719
viewsTotal sum with multiple values dynamically using jQuery
I’m trying to do a function that takes the values of all <div class="preco-produto"> make the total sum and population in the <div id="final">. I made the function that separates the…