Interesting questions
-
2
votes1
answer147
viewsHow to properly configure JSON return with content coming from Mysql with accent
I have a problem in the return JSON of some information from my BD, some are accentuating and the answer fails, I have tried some past suggestions, such as this: $response = utf8_encode($response);…
-
1
votes2
answers400
viewsPass javascript parameter to a php page by a button
I need to delete a record in the database by id, I am displaying my table with the records through ajax and jquery, however I need a button that excludes by the id of the record, I have created the…
-
0
votes1
answer229
viewsCheckbox not clickable
I want to make the checkboxes of a specific page on my site visible, but not clicked, where the user can only interact with them after logging in. Is there any CSS solution for this situation in…
-
0
votes1
answer64
viewsPagination in Wordpress category returning 404
Hello! I know this is probably a repeated question, but as none of the solutions I found around here have managed to solve my problem, I decided to do it anyway. I’m working on a template with a…
-
-2
votes1
answer98
viewsHow to use two sensors in the Arduino and show the data in a C#application?
I have a code in the Arduino where has 1 ultrasonic sensor that measures the amount of liquid, and in a tank a flow sensor that measures the amount of water consumed. In the other code C# I have an…
-
0
votes1
answer37
viewsWhat is the difference between these string manipulations in C
Good morning! I’m learning C and I had a question about using strings, I wanted to know if there is difference to use this form: char palavra[255]; printf("Digite uma palavra: "); setbuf(stdin, 0);…
-
0
votes1
answer57
viewsRails project deploy on AWS, port-free access
I need to upload a site developed in Rails in the AWS. However, whenever I give the start it is only accessible if I specify the port used by Rails (www.dominio.com:3000, for example). I tried to…
-
0
votes1
answer177
viewsData were not changed in the database - Standard 5.7 eloquent
Good afternoon guys, I’m trying to do an update but the values entered in the fields not saved in the database, follow files to check. Index.blade.php @extends('layouts.app') @section('content')…
-
0
votes1
answer32
viewsMultiply table prefixes
Is there a php function to replace #_ by multiple example table prefixes Test,test2,test3,test4 ->from ( '#__dolar_corrent AS a' )->leftJoin ( '#__users' )…
phpasked 9 years, 10 months ago valdir silva 89 -
5
votes1
answer408
viewsOperations on matrix with no defined size
I need to perform operations on a matrix that will be passed by parameter, the problem is that its size is not fixed so I do not know how to perform the loop to go through the end of a column or row…
-
0
votes0
answers38
viewsInsert is not working / Excel
I created a process to make a Insert in a spreadsheet on EXCEL but the data is not being entered. No error is returned. Code: private void AtualizarPerformanceEntrega() { try { DataTable dt =…
-
-1
votes2
answers175
viewslogin system using php and mysql
I’ve made some changes to the program, but it’s still giving me the slip...: mysqli_query() expects at least 2 Parameters, 1 Given. <?php $username="username"; $pwd="pwd"; include…
-
0
votes1
answer71
views -
0
votes2
answers520
viewsTaking the total in pixels of an element passed in variable in percentage
I’m riding a div which must be an exact square, but this square must be based on the square itself width that is being set up with pocentagem (%), but need the total value in pixels. EX: 5% = 105px…
-
0
votes0
answers370
viewsError accessing Websphere database
This error appears after installing the project(it installs everything normal and even runs and opened the project, but when it will access a page that makes the request to the error database):…
-
5
votes3
answers211
viewsProblem where IF and ELIF do not work in Python
First time programming, I started a week ago and I gave up trying something. However, I have a problem where, no matter what I put in the variable, it always shows the same result, which in the case…
-
2
votes2
answers85
viewsCalculate date with Javascript or otherwise, even in excel?
How to arrive at an end date from a start date multiplying by N weeks, not taking into account the last week of the year. I can calculate the dates, but I can’t cash the last week.
-
8
votes2
answers571
viewsHow to transmit data securely?
I’m developing two embedded systems, a supervisor and an agent. The supervisor is a card capable of making connections to the Internet through GPRS. It receives requests from a user, through a web…
-
0
votes1
answer89
viewsAjax Stacking Requests
I have a web page that displays a list of people registered in my comic book. Each name is a hyperlink that, when clicking it, an Ajax function opens a modal containing specific information of the…
-
0
votes1
answer94
viewsHow to import CSV files from a same level folder (and/or above) in Python?
I have already searched several topics here, unsuccessfully however. So, if there is already an equal question, please forgive me and indicate a solution. My project is articulated as follows:…