Questions tagged as 'php'

0
answers

Stored Procedure codeigniter does not run

I have a problem calling a Stored Procedure with codeigniter, the stored is to generate an id autonumeric this is the code, I use PHP 7.0 , MySQL , Codeigniter 3 , jQuery 3.1 . DELIMITER $$ CREATE DEFINER='root'@'localh...
asked by 25.10.2018 / 22:22
1
answer

error in a PHP sentence - WARNING

I receive the following error: Warning: mysqli::query(): Couldn't fetch mysqli in /database.class.php on line 96 and the line is as follows: public function query($query) { $this->result = $this->mysqli->query($query); // Est...
asked by 30.10.2018 / 20:29
1
answer

bring file and a user to the database,

This is the view that carries the data, the file and the name but when it reaches the controller it only sends the file <input type="file" name="link" required="required"> <textarea type="text" rows="50" hidden="hidden" id="text...
asked by 30.10.2018 / 22:53
1
answer

Upload laravel project to a VPS, using Nginx, without using Git

I have a question, I searched Google and I can not find a convincing answer, I have a VPS, the Nginx server is already configured, I was able to start a page with Laravel and I could access it from the internet using a domain, the problem is in...
asked by 25.10.2018 / 01:59
0
answers

Datatable does the search command but does not show the result

I managed to make him make the command to look up the data of a table, but he does not show them in the datatable, I do not know why. Does the query, but does not show it. I already asked this question 2 times, and nobody even tells you. I do...
asked by 25.10.2018 / 01:56
0
answers

Create a Checkbox

My question is the following as I can call from a mysql database in my view in laravel, and filling that data in a list with checkbox so that I can choose the user to whom I want to upload a file of type pdf or doc or txt if you could help me wi...
asked by 25.10.2018 / 17:32
2
answers

help with php Parse error: syntax error, unexpected end of file in C: \ xampp \ htdocs \ log \ ajax \ conec.php on line 16

<?php function connectDB(){ $server = "localhost "; $user = "$usuario"; $pass = "$passwoord"; $bd = "nombre base de datos"; global $link; if (!($link=mssqli_connect("local host","usuario","password"))){ exit();...
asked by 25.10.2018 / 16:00
0
answers

Taking pictures with camera android convert to base64

I'm new to this page. I am trying to create an app where you can decide whether to take a picture or upload it from the phone gallery. I found this code in one of the questions here but I have a question since I have not used these functions....
asked by 25.10.2018 / 23:16
0
answers

Extraction of images with Script as to do?

Someone knows how I can extract images with a script from a folder or path, having an excel list with its respective name, but if I want to extract only 5 because in the script I should have the 5 names and so on without having to extract all or...
asked by 25.10.2018 / 19:51
0
answers

Query with date in select

I have the following code that basically consists of two input, two dates are placed independently. On the other hand, there is a select that works as a search filter, you must search for the entity that is selected between the two dates that we...
asked by 25.10.2018 / 18:43