Questions tagged as 'php'

2
answers

Deleting events in jquery to dynamic elements

Hello, I have the following problem. I searched a lot, here and in google and I can not find the problem. I have a table that is updated dynamically: PHP + Mysql + Jquery The table that is initially loaded looks like this: <table clas...
asked by 03.05.2018 / 16:58
3
answers

Print directly to printer connected via JS or PHP

Imagine that I have a web page and I want to print a receipt for the client, that clicking on a button "Print" of the page gives me the option to choose the printer to print the PICTURE that you see on the screen. Test code: <!DOCT...
asked by 08.01.2018 / 00:02
2
answers

Erro when counting table fields with conditioned SELECT

Greetings. What I'm trying to do is the following. I need to count and show how many students have the payment date on the current day, to show it on an alert that says There are 4 students who must pay today. And I also want to list the names o...
asked by 03.01.2018 / 22:44
4
answers

Remove elements from an array in php

Good morning According to a query in php, it generates the following arrangement: Array ( [0] => Array ( [Finca] => FINCA 1 [0] => FINCA 1 [Producto] => ALSTROEMERIA [1...
asked by 13.07.2016 / 19:31
2
answers

Php - Ajax Success does not take into account true

I am trying to send my form and according to the response of my php file. Do something in my ajax. (Use the function) echo json_encode ($ data); But, never enter the true. This is how I send my form. $(document).on('ready',fun...
asked by 21.09.2017 / 05:30
2
answers

Error in Login to Web with Facebook in PHP

I think I have configured the application correctly, however, I get the following error when trying to login. ERROR: Unable to load the URL: The domain of this URL is not included in the domains of the application. In order to load this URL,...
asked by 24.10.2017 / 06:01
3
answers

I need to add a php text

I need to add a text that I define in a textarea that is at the end of the code but when wanting to enter it for the first time I get an indefinite variable as I do to correct this attached code <?php session_start(); if (!isset($_SESSION[...
asked by 28.11.2017 / 17:20
1
answer

access Instances stored in an object in sub layers

I have a very small problem: declare a Main class with property in the following way, so that it loads the files require_once dynamically, depending on the classes that it has stored in some folders, and it works correctly, also it is in char...
asked by 24.10.2017 / 23:18
2
answers

Problem to walk a json

I have a form where a name is placed and you choose between 5 different types of "profile". whose code is as follows: <form id="registroForm" name="registroForm" class="ui form" role="form" action="guardar.php" method="post" autocompl...
asked by 26.09.2017 / 18:57
1
answer

Error in my PHP document

I'm having a small problem trying to insert some data in my database, but I could not find the respective error: ERROR    \ n Fatal error : Uncaught Error: Call to undefined method   mysqli_stmt :: bindParam () in   C: \ xampp \ htdocs...
asked by 02.07.2018 / 03:16