Questions tagged as 'php'

0
answers

Problem to pass values by URL (GET) in PHP

I try to do the following: From a query, I create a table, to which at an option, I am adding a link to print a pdf, $indices .= '<tr> <td>' .$row[id_presupuesto]. '</td> <td>'...
asked by 05.09.2018 / 18:01
1
answer

Pass parameter in JasperPHP and Laravel

I have the following code in PHP under Laravel I need to pass the id of the invoice and the name of the account. but it does not work. it only allows me to send a single parameter in the array. if I remove the $ account-> name, it works perfect...
asked by 07.09.2018 / 02:04
0
answers

Message: Object of class stdClass could not be converted to string

Someone knows why I get this error: in this function: function agregar_empresas_usuarios($id_empresas,$id_usuario){ $this->db->select("r.id_rol");//ver si el usuario es admin o no $this->db->from("colegiosam_...
asked by 06.09.2018 / 23:04
0
answers

I have a button that performs an action as I do that at the end of the action another button is automatically executed

I have a button that takes a screenshot of a div by clicking on a button that div has a photicle that by clicking on the save button is saved by submit in mysql but I would like to click on the capture button (screenshot button) execute the func...
asked by 05.09.2018 / 15:10
0
answers

Problem with PDO and query with variables

I have a query that does not run correctly when I enter it in PHP: SELECT id_continente, id_pais, id_localidad, visitas, posicion_pais, posicion_continente FROM (SELECT *, @posicion := IF(@cont...
asked by 05.09.2018 / 08:24
1
answer

Select to load the elements when opening the page

I have a select that is dynamic, at the time of opening the page it performs its function but what I need is that when I open the page the default value is selected and I throw the images of the selected value, since it is annoying to open the p...
asked by 05.09.2018 / 13:16
0
answers

Does the getRevieweeIds command require machine permissions?

I'm getting an error in php when I try to use the command: ($user_obj->getRevieweeIds()) I get something like:    Access forbidden! You do not have permission to access the requested object. The object is protected against reading o...
asked by 10.09.2018 / 20:29
0
answers

replace C: fake \ path

Hello, everyone has a problem with uploading files, saves them in the database and stores them well in the folder assigned to them, the problem is that in public I can not remove the image that is saved in the database is with C: fakepath here I...
asked by 10.09.2018 / 17:40
1
answer

Insert new records and edit existing SQL

I am uploading an excel through a form, this excel contains product records which must be inserted in the database to keep track of inventory in the system. I have the problem that I need to upload the excel system to insert the new products...
asked by 10.09.2018 / 19:59
0
answers

Fatal error in PHP

When I want to see a project in php and put in the browser localhost / viveamazonas (vive amazonas is the folder where I have the project files) the following error is displayed:    Fatal error: Uncaught Error: Class 'Testimonials' not foun...
asked by 10.09.2018 / 20:33