Questions tagged as 'php'

2
answers

Integrate function input PHP in HTML input

Hi, I'm trying to integrate a PHP function into an HTML input, because if I remove the HTML input and leave only the PHP function, by not taking the styles the field is reduced in width by half, as you can see in the image. * PHP + HTML <...
asked by 20.04.2017 / 09:19
1
answer

Ajax jquery does not pass through function success [closed]

I have an ajax request to a php file but for some reason it does not go through the success function and I do not get an error. could see what the problem is, the file path is fine and I do not know what else it can be // jquery $("#lst_cat...
asked by 26.03.2017 / 23:37
1
answer

Insert statement does not insert anything into the DB and shows no error [closed]

I have this statement ready to insert data, although it receives and leaves it inserted, it does not insert anything in the database: Echo of the variables: echo "<br>".$unidad; echo "<br>".$cedula1; echo "<br>".$cedula...
asked by 23.03.2017 / 16:59
3
answers

Query event click jquery

I'm learning, I know some php and little jquery. I have to make some adjustments to an application of my work, developed in cake php. At this moment, clicking on a link takes me to a previous screen. I need to give that same behavior to a button...
asked by 27.12.2016 / 14:50
2
answers

FullCalendar does not correctly display the 'end' date

I have my list of events, which have a start and end date (format YYYY-MM-DD). These events are displayed in the FullCalendar calendar: However the dates are not shown in full, but the end date of each event does not take the last day,...
asked by 09.03.2017 / 19:55
1
answer

Convert base64 image to "input file"

Good morning, I'm making an application in angular that picks up a drawing made in canvas and then upload it as a png image to the server. This is my function: $scope.signContract = function(){ var canvas = document.getElementById("p...
asked by 10.03.2017 / 12:27
1
answer

Create Post in Wordpress with PHP code

Someone knows how to create a post in Wordpress by means of some PHP script, I need to create semi-automatic posts in a web periodically, my idea is to create a php code in the same web with which by means of a cron it is activated Every once in...
asked by 10.03.2017 / 04:36
1
answer

TCPDF ERROR: Some data has already been output, can not send PDF file

I am trying to generate a PDF report using TCPDF , but when executing my code the following error occurs:    TCPDF ERROR: Some data has already been output, can not send PDF file Please, can you give me a hand to determine the err...
asked by 30.11.2016 / 12:24
2
answers

only shows me the first record of my query

Hello friends I have a problem with my query, it turns out that I am making a query with related tables my table: inscription_projects I relate it to my table: inscription_students by means of the id of the inscription_projects table and that id...
asked by 08.12.2016 / 19:23
4
answers

Does not enter the if statement, inside the While

The following happens, I'm doing an update, when I enter an invoice from the suppliers, and when I click on a button x a function is executed (I'll place it below) it works well, the stock of the products entered is updated with the invoice of t...
asked by 08.12.2016 / 23:08