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;...
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...
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....
<?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");
//...
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(...
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...
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...
I have the following code in javascript:
<script type="text/javascript">
$(document).ready(function(){
$("button").click(function(event) {
event.stopPropagation();
$("#img-loading").show();...