Questions tagged as 'html'

0
answers

How to pass variables from php to python and vice versa using json

Someone knows why only one part of a program is executed in python, when it is called by one in php, my codes are as follows <?php $x=$_GET['velocidad']; if(isset($_GET['der'])){ $y=1; $z=0;...
asked by 01.10.2017 / 18:47
1
answer

How to avoid redirecting the form? - PERL

I have a form which I used to make a basic calculator but at the time of executing the script CGI in PERL redirects me to a white page and only prints the answer. I would like to press the submit button to execute the scr...
asked by 01.10.2017 / 05:10
1
answer

End of script output before headers: converter.cgi

I have this same problem and I already verified the syntax of the Perl script and I see that everything is correct, I do not understand the reason why it does not work. Here is the layout of the form: <form id="formu" action="convertidor....
asked by 28.09.2017 / 00:54
1
answer

Error downloading the xml file

<?php error_reporting(E_ALL); // Datos de conexión a la base de datos require('mysql_connect.script.php'); $conn = mysql_connect("localhost","root",""); mysql_select_db(""); mysqli_set_charset($conexion,"utf8"); //...
asked by 27.09.2017 / 23:13
0
answers

How can I get a value n from a text field with js?

I'm new to js, this is what happens. I have this function: which is where I pick up the value of the drawer to know how many points there are to find function puntos(npuntos) { if (npuntos >= 2) { document.getElementById(...
asked by 23.09.2017 / 23:13
2
answers

What is _VIEW_PATH_ in require_once? _

I was practicing examples in php and I found this example of require_once, but it generated doubts for me that it is _VIEW_PATH_: public function index() { $model = $this->empleado->listar(); require_once _VIEW...
asked by 23.09.2017 / 21:27
0
answers

Insert in Tables

<title>Cargando...</title> <? session_start(); $num_solicitud= $_POST['num_solicitud']; $num_propuesta= $_POST['num_propuesta']; $fecha_solicitud=$_POST['fecha_solicitud']; $cod_asegurado=$_POST['asegurado']; $nom_asegurado=$_POST[...
asked by 22.09.2017 / 14:19
1
answer

How to add a button type field to an array

I have the following function: public function ajax() { $consulta['consulta']=$this->Model_Entidades->traerentidades(); echo $x=json_encode($consulta['consulta']); } which returns 4 fields and I insert them in a datatabl...
asked by 27.09.2017 / 15:55
0
answers

JQuery stops working

I have the following code in javascript: <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(event) { event.stopPropagation(); $("#img-loading").show();...
asked by 20.09.2017 / 23:38
1
answer

How can I add the number that are in unit price in a dynamic form?

        DETAIL MATERIALS, SPARE PARTS AND SUPPLIES       <br> <div class="form-group"> <label for="tablaDetalleMaterialEinsumo"> <div class='btn btn-success' id="btnNuevaDetalleMaterialEinsumo">Nueva</div>...
asked by 19.09.2017 / 02:19