Posts by mbissonho • 111 points
8 posts
-
3
votes2
answers465
viewsA: Composer install does not run
Missing or disabled extension mbstring php in your environment or machine needed for Composer. If it is linux derived from Ubuntu/Debian, try: $ sudo apt-get update $ sudo apt-get install…
-
0
votes3
answers169
viewsA: Send data to external URL via form, uploaded to the same page
Try something like that: <form id="formulario" action="" method="get"> Nome: <input type="text" id="nome" name="nome"><br> E-mail: <input type="text" id="email"…
-
1
votes2
answers446
viewsA: Take a string snippet between () and change it in Javascript
Following your approach, with few modifications, you could do so: function go(){ let select = document.querySelector("select"); let currentSelectedOption = select.options[select.selectedIndex]; let…
-
0
votes2
answers79
viewsA: Error in C program compatibility between float and float pointer
I believe you are in doubt as to the return of your function float reverse(float* v, int n ), that could be so: float *reverse(float* v, int n ) {. But privately I would do so: #include…
-
0
votes3
answers89
viewsA: AJAX error, does not send the data
Sending with ajax(1) and form(2) <?php if(isset($_POST) && !empty($_POST['value_id'])){ echo $_POST['value_id']; exit; } ?> <!DOCTYPE html> <html lang="en"> <head>…
-
0
votes1
answer41
viewsA: Error in listing filter with php and jquery
The mistake Syntaxerror: Unexpected token < in JSON at position 0 occurs because it is trying to parse for JSON something that is already in JSON format due to dataType: "json" set in the object…
-
1
votes1
answer188
viewsA: New route does not work codeigniter
The reason for unexpected behavior The behavior of only returning the index method view of your Home controller, i.e., calling only the index method, occurs because you have defined a single path in…
-
0
votes1
answer35
viewsA: program in doubt - search within for
Could do so: case 'a': fflush(stdin); printf("\ndigite o AUTOR do livro que procura\n"); gets(autor_pesquisa); for(i = 0; i <= cadlivrosmax; i++){ retorno =…