Questions tagged as 'php'

0
answers

How to display a text with the format 'bTEXTO / b' in word with PHPWord

My Code: <?php require_once '../PHPWord-master/src/PhpWord/Autoloader.php'; \PhpOffice\PhpWord\Autoloader::register(); use PhpOffice\PhpWord\PhpWord; use PhpOffice\PhpWord\Style\Font; //Instancia phpWord. $documento = new PhpWord();...
asked by 18.10.2018 / 22:43
1
answer

Send checkbox data to php to update

I'm new to this ... any help is welcome. I have a modal view where I load a table, I have a checkbox for each row, I want to update the fields that are only selected, (get the values of the elements that are selected) and then make an update,...
asked by 11.10.2018 / 00:16
0
answers

Codeigniter / Mysql "Warning - mysqli :: real_connect (): MySQL server has gone away"

I'm getting the error "Severity: Warning - > mysqli :: real_connect (): MySQL server has gone away" in codeigniter when the connection to the database is persistent, that is when in the base configuration of data the pconnect parameter is lef...
asked by 18.10.2018 / 22:43
1
answer

Problem when wanting to read JSON made PHP from Java

I'm trying to get a JSON from PHP, which returns the result of a query (SELECT) from a database. I am using GSON, to convert the obtained JSON to an object in Java. My problem is that it does not let me create the objects and returns an Ex...
asked by 19.10.2018 / 00:41
0
answers

Laravel 5.6: Send mail every so often

Now modify the config with data from a gmail account, I currently send emails through a view, in which I access, enter the data and send the email. However I want the mail to be sent without having to resort to a view. The question is how to pro...
asked by 10.10.2018 / 13:11
1
answer

How to find the largest and smallest number in a 2-dimensional array of 6x7?

   for each row of the two-dimensional array that prints the largest number and for each column the smallest number <?php $array=array("uno"=>array("1"=>rand(1,300), "2"=>rand(1,300),...
asked by 09.10.2018 / 03:24
1
answer

Update does nothing

Use CodeIgniter and PHP. When doing an Update, no message is displayed and the update is not done. client_search (controller): public function mod(){ $mod=$this->main_model->mod( $this->input->post("DocIdent"...
asked by 09.10.2018 / 04:47
2
answers

How can I get the data of a specific field from a tabl, by using php and js?

I have a problem when I try to get the id of a table here $salida.="<table class='table'> <thead> <tr id='titulo'> <th scope='col'>#Contrato</th>...
asked by 09.10.2018 / 16:24
0
answers

My site takes between 0.002 seconds and 5 seconds randomly

it has happened to me lately that my site delays in loading between 0.01 and 5 seconds in loading a page, I would like to know if I am doing something wrong in the code, since I do not understand why it happens.    Fatal error: Uncaught Error...
asked by 09.10.2018 / 21:58
2
answers

Pass several variables with javascript from a view to a function in the controller

Hello stack overflow friends in Spanish, my question is if you can help me to pass more than one variable in the following code, I will be very grateful <script type="text/javascript"> function PagarCuotaCuenta(cuotas,importe,i...
asked by 09.10.2018 / 20:42