Questions tagged as 'php'

1
answer

Perform insert through an input with the type image

I hope and you can help me. I want to carry out a survey which will contain a question and 4 options, those options will be excellent, good, regular and bad which will be represented with an emoticon or emojis. The problem lies in that I do n...
asked by 08.10.2018 / 17:22
0
answers

Save log with a php button

Good morning I have a php button like this. echo CHtml::button(Yii::t('site', 'Help (F2)'), array('id' => 'run_example')); that calls a function js: <script> $("#run_example").click(function(){ Sideshow.start({ listAll:true });})...
asked by 11.10.2018 / 17:02
1
answer

Print laravel inquiries

I'm doing a project, I'm new to php and laravel, what I want to do is when I ask a question to be able to print separately already generating a pdf report or opening a view with that data, I have tried everything and I can not . I share the code...
asked by 05.10.2018 / 23:41
0
answers

Structure an HTML calendar created with For cycle that repeats dates obtained from MySQL

The following code corresponds to a For cycle that fills a calendar made with HTML (see the following image). In this case, the events obtained by dates from the DB are shown. Those dates are doubled and try to fix it with an if but it ju...
asked by 07.10.2018 / 04:05
1
answer

Globe orders auto refresh

I'm with the back of a website that is a store, and I'm preparing the typical balloons that are on top of the cart, to notify you how many orders there are new on the web, check them in the database. Script with which I check and print every...
asked by 08.10.2018 / 07:16
0
answers

Use the result of an angular service

I am working on the Backend with Symfony and the Frontend with Angular and I am being presented with the following. I have an affiliated class and another beneficiary, the beneficiary depends on an affiliate previously created, therefore, it has...
asked by 15.10.2018 / 15:24
0
answers

Search for duplicate data multidimensional array

I have an array in the following way: Array ( [0] => Array ( [IP] => 172.30.224.232 [Equipo] => Space-saving [CodPat] => 111 ) [1] => Array ( [IP] => 172.26...
asked by 16.10.2018 / 14:01
2
answers

About writing variables in PHP

I have a form where I ask the amount of inputs they need to add information. This is the form When generating the code to fill in the inputs, I'm going to notice that I have a programming error that I do not know how to solve, since my var...
asked by 15.10.2018 / 18:58
0
answers

Button to delete rows in a table made in mysql / php

I would like to create a button that deletes rows from a table, the html part and css are ready, but javascript does not work. Here I leave my codes. <?php //Archivo de conexion include_once("connection.php"); $sql = "SELECT * FROM 'res...
asked by 30.10.2018 / 12:56
1
answer

send all values by ajax

What I try to do is send the response of a request but I do not receive the values of the array I only receive the word array // js file where I get the answer $(document).ready(function(){ //alert("hola"); let selectCards =$('#card...
asked by 30.10.2018 / 15:34