Questions tagged as 'php'

2
answers

How to send several times the data of the same form without reloading or deleting the data?

Project link: link User: Cristhian Pass: 123 I must report the hours that a worker uses to perform a task, I have 7 workers then I duplicate the form where I report the hours, but when sending one the information of the other forms is...
asked by 11.10.2018 / 14:33
1
answer

Problem with CMS

I have on a website a small CMS (based on SCC Editor) that allows you to create ordered and unordered lists, bold, italics and something else. As writing in the database the text of that textarea where the CMS works included the tags in [] [/] f...
asked by 12.10.2018 / 10:07
2
answers

Error in PHP Form

I have a little doubt I have been working on a form. The question is that when I load the page it evaluates everything to me and it shows me error but when I enter data it shows me the data that I request without errors. <?php include "...
asked by 12.10.2018 / 17:42
1
answer

Leave the form option selected

With .php and javascript how could I leave selected the option that the user selected in a form, after giving the input button to process the fields? You get the value you selected, but I do not know how to get to the option and setAttribute...
asked by 14.10.2018 / 20:26
2
answers

Laravel Seed db: seed [Symfony \ Component \ Debug \ Exception \ FatalThrowableError] Fatal error: Class 'model' not found

I am using the FactoryModel tool to populate the database, for this I did the following: I created the model: Php artisan make:model “Users” –m I made the migration: php artisan migrate Users Model { use Authenticatabl...
asked by 03.04.2016 / 15:46
1
answer

Real-time table query made by php

I have a table created in HTML with PHP and MySQL, and I need that with a input to do a search in real time of that same table, will it be possible? Here the code: Body of the page: <div id="main"> <div id="he...
asked by 07.10.2018 / 17:36
1
answer

Select dynamics in php and js by the POST method

The following code corresponds to the query and information obtained from the MySQL DB: <?php $conexion = new PDO("mysql:host=localhost;dbname=scouts_601_palmira","root",""); $Id = $_POST['Id']; echo '<script type="text/javascript">...
asked by 08.10.2018 / 16:44
1
answer

Error with google driver api

I have the following situation, I am using the API of Google Driver from my php to upload files from my system. What is happening to me, is that it generates a permission error when executing the script when I upload the file. Check my...
asked by 22.10.2018 / 23:01
1
answer

How to delete a record from a table with Laravel?

In my application users logged in through a button register themselves with an activity, when they click on the button, the user and activity information is sent to a table in the database. The above works in the following way: Laravel dri...
asked by 08.10.2018 / 16:22
1
answer

How to send parameters from my blade view to a Controller - Laravel 5.6

I need to send a variable in javascript that is in my view in Blade and send it to a controller that it would save in the database. Can you give me an example?     
asked by 10.10.2018 / 15:41