Skip to content
Advertisement

Tag: vue.js

upload image to server modifying name

I am building a form with laravel 5.6 and where I save a name and a user photo, but i need the photo to be stored with the username. I show the code of my store I can get the username with $request->nombre; but I don’t know how to assign that name to the photo Answer There is a ->storeAs()

nginx server with dynamic index is not executing php

i tried setting up my php backend and my vue on the same location. Based on the X-Requested-With header the server should decide if the backend would be used or the vue should be delivered. Now the delivery of the vue file is working, but the php is not executed. info: at the position of X-URI the $uri is /index.php,

Using double curly Vue.js braces inside php string param

So I’m in the middle of mixing Vue.js, PHP & HTML and I’m running into a small issue – I have the following HTML section: Now everything works great except calling the Vue.js title inside the PHP code.. I have the following: Is it possible to invoke double curly braces inside a PHP param? I have the HTML version (<span

query don´t show one result

i have this query: i can show my result, but always don´t show all, i want to say that if my result it´s 3 my query show 2 when all my result have the same result. all data have state=”pendiente” table user table asistencia table actuacion table contratan i attached my migration for you can show mi ralation Answer I

v-for vueJS condition v-if

I have a problem with v-for with v-if en my component VUEJS I need that if i have one promotion active show it in my div but if i haven´t got any promotion active show button for buy a promotion. I have do all my condition, but always show that i don´t have promotion active, but in console, no, in

How do I call a php file with axios?

I am doing a CRUD with vue.js and php. I installed the axios and I believe it is working. I just don’t know how to call the php file that connects to the database and creates, read … The folder structure: An excerpt from my script: Answer In axios you are referencing a file which will not work Axios makes

Advertisement