Questions tagged as 'php'

2
answers

Fill input text according to the value of other input text

I have a product table which has a code, name, etc. .. then when entering the product code in the form, automatically place the name of that product ... <form accept-charset="utf-8"> <div class="form-group" id='mcodigo'>...
asked by 30.03.2017 / 18:47
1
answer

error when reading a variable in PHP Notice: Undefined property: stdClass :: $ Name

I am trying to read a webservices that is in SoapUI but the field that I am trying to read is not a unique name, that is to say that I have several fields with the same name this something to itself. <get1:Wallet> <get1:Nam...
asked by 30.03.2017 / 17:49
2
answers

Check correct UPDATE in MySql with PHP-PDO

When launching a INSERT MySql with PDO I have the same result whether the update is done or not, as long as no errors occur, ie if for example the update does not meet the conditions of WHERE will not occur. Example: $sql = "UPDATE...
asked by 29.03.2017 / 22:48
1
answer

Error in PHP when starting session

Good morning, I'm doing a login and I've been researching and improving it since the previous one I had was not very effective to say. Code: <?php //Conectamos a la base de datos require('/conexion.php'); //Obtenemos los datos d...
asked by 25.04.2017 / 13:35
1
answer

Use php varibals in css style sheets

I have the following code. The session variables are full but for some reason when I use it below the variable $colorNav considers it empty, someone can help me PHP:      $colorHeader = "'".$_SESSION['_colorHeader']."'"; $colorNav...
asked by 29.03.2017 / 21:44
1
answer

Remove line break in MultiCell fpdf

I have the following code in fpdf but I do not know how to remove that line break at MultiCell $pdf->Cell(40,10,'Columna1',1,0,'C'); $pdf->MultiCell(40,10,'palabras y mas palabras',1,'C'); $pdf->Cell(40,10,'Columna3',1,0...
asked by 30.03.2017 / 03:05
1
answer

mb_strtoupper () Does not work On server

I have a code that generates some reports in excel, I use mb_strtoupper () to capitalize the results, localhost works with all the letters, but in the server only places the normals, ie the ñ, and tildes does not apply to put them in uppercase,...
asked by 30.03.2017 / 17:02
1
answer

How do I load selects with jQuery, Ajax and Codeigniter

As it does, this file is to load the library of jquery to be able to use ajax and the jquery code where we will say that when the select with id country changes of option, in the change event table pp_countries ------------------ id country_na...
asked by 30.03.2017 / 21:50
1
answer

change of value of a text input in insert into table

The compte field does not know why it has a maximum limit of 4294967295 . As soon as you put a higher number, e.g. 4294967296 o 9876543210 , in that field, the highest accepted number is the one said at the beginning, but acc...
asked by 03.04.2017 / 22:15
2
answers

How to send a pdf with PHPMailer

I have the following code that generates a pdf $pdf = new FPDF(); $pdf->AddPage(); $pdf->SetFont('Arial', '', 10); $pdf->Image('../../imagenes/3.png' , 1 ,-5, 60 , 50,'PNG'); $pdf->SetFont('Arial', 'B', 15); $pdf->Ln(15); $pdf-&...
asked by 04.04.2017 / 21:30