Posts by Fabio Cardoso • 81 points
9 posts
-
0
votes0
answers124
viewsQ: Vuejs Application Deploy in Vercel - Error 405
You guys talking blz? I’m having problems deploying my nuxtjs application to Vercel https://vercel.com/ my problem is that when I make a POST request to my api that is configured in the project…
-
0
votes2
answers83
viewsA: PHP Lumen - TDD test Image upload does not work in PHP’s Lumen framework
Actually, I needed to use the call to as a request to send an object of the type UploadedFile $file = UploadedFile::fake()->image('avatar.jpg'); factory(App\ProductImage::class)->make();…
-
0
votes3
answers173
viewsA: Mysql query return with PHP+Javascript
what is happening to your code is that you are giving a Submit in your form, by default Submit makes a redirect to the path that is pointed in action of your form. And how the action your form is…
-
1
votes1
answer55
viewsA: Subscribe to a JS object
let object1 = { name: '', address: 'Rua Mario', email: '', } let object2 = { name: 'Carlos', email: '[email protected]' } const {name, email} =…
-
0
votes1
answer25
viewsA: Loading Session ID
Cara has two perceptions that I saw in the code you posted. One of them is in your insertion query you put '$id_user' (quotation marks) check if it is really a string you should pass, if it is not…
phpanswered Fabio Cardoso 81 -
0
votes2
answers83
viewsQ: PHP Lumen - TDD test Image upload does not work in PHP’s Lumen framework
I’m trying to create a test method for uploading images using the PHP framework (Lumen). However I am having problems with the following Uploadedfile method: $request->file('images') it always…
-
0
votes1
answer164
viewsA: Update table after sumbit in modal
Dude there are several ways to solve this. One of them is you make an ajax request by calling the contents of your table: create in a separate file: count_table.php (put the name you think is best);…
-
0
votes1
answer69
viewsA: How to change the text according to the image shown on the slide?
I believe you should put the content inside each <div> <div class="slider-sec"> <div class="slider single-item"> <div><img src="images/slide1.jpg" alt="Slogan" /> Seu…
-
1
votes4
answers542
viewsA: How to clear a form after submitting the data?
$("#IdForm").submit(function(){ // seu codigo aqui $(this).reset(); // função de resetar form });