Questions tagged as 'php'

0
answers

It does not show the sql query with some

I have this code in php to show the entered data, it just shows some not all, what is event_id , event_description and value which are the fields in the BD shows them correctly, but data such as title_event does not show them. <?php...
asked by 10.10.2018 / 21:07
2
answers

ERROR TO USE: php artisan migrate

I have an error executing the "php artisan migrate" command. Already create the database in the phpMyAdmin of XAMPP, it obviously does not have tables created. The error that I get in the terminal is: Try "php artisan cache: clear...
asked by 10.10.2018 / 22:54
1
answer

Create query in several tables with Laravel 5.6

I want to prevent the user from deleting a record if it is already in use, for example: Patient-id_patient table have interaction with table Accidents or Table Appointments Clear by the primary key id_patient. The idea is that if it already h...
asked by 10.10.2018 / 22:32
1
answer

Return value to enter a conditional php Codeigniter

Good afternoon everyone. I do not know if I am doing well or if it is necessary to do so. I am working on a development with PHP and Codeigniter and I have two files one in the Controller folder and another in Model ; what I try to do i...
asked by 10.10.2018 / 21:35
0
answers

Upload image Android Retrofit PHP

I'm uploading an image with retrofit. The problem is that Huawei does not work well and falls. Apparently it does not locate the path of the file. This is the upload code. final UtlLoading cargarFoto = new UtlLoading(this, "Cargando f...
asked by 10.10.2018 / 21:42
1
answer

Fill array in PHP with form and show results in a table

The problem I have is the following, I have to make a financial management platform and for that they ask me to create the variables that are, $ date, $ concept, $ amount and $ balance. The date will be a default field, the concept and quantity...
asked by 14.10.2018 / 10:47
0
answers

html search engine that searches in the appropriate directory

I'm doing a web with wordpress with Advanced Custom Field, I'm trying to integrate an article search engine but without woocommerce (ie a normal search engine). I upload these articles through the content manager as I explain in the image:...
asked by 11.10.2018 / 11:33
2
answers

Doubt with an IF ELSE

I'm making a cart for the web, and there's one thing I have to compare when I add a product to the cart. If the product that I add to the cart is for rent = id1 I will show a div and if the product that I add is any other one that has another id...
asked by 10.10.2018 / 08:30
2
answers

Store JavaScript variable within a PHP variable

The next problem is that when a person selects an option of a select, the value of that chosen option is obtained and stored within a php variable. Here I get the Id of the selected option. It occurs to me, for example, to use done or suc...
asked by 11.10.2018 / 01:57
1
answer

Laravel 5.6: Execute command every minute

Create a command to send an email, test the command executing it in the console and it works perfectly. However I want it to be done automatically without having to enter the command in the console. I added it to the kernel so that it runs every...
asked by 11.10.2018 / 02:14