My question is this:
Is it possible to enable or disable a field of a form from PHP?.
Depending on a number that I extract from a database:
if the number I get is 4894-rt , that I have a field in the form where I enter a datum to...
Hello, I do not know how to access my project echo in laravel from another computer in the network, locally I can access it with:
http://localhost:8000
Now I try to access by replacing localhost with IP on the same computer on which I h...
I need 3 rows of a table that have certain id.
This is my current query that gets only one record
$query='SELECT precios.id_precio, precios.precio, precios.descarga, precios.carga FROM wifmaxco_web.precios WHERE precios.id_precio="1"';
$...
I am working with dates in php but I can not specify something like what I'm looking for, my problem is to be able to visualize the number of weeks in a specific month I hope I was clear and thank you for your help.
EXAMPLE:
WEEKS of date =...
I have this code to create a table and insert the data of the type json array:
$.ajax({
url: '<?php echo base_url(); ?>index.php/Manager/metricsAdvocates',
type: 'post',
data: {'sup':sup, 'dateM':dateM},
dataType: 'json...
I do not know the reason why when listing the files in the directory, the first result is always printed in white, as shown in the attached image.
The code I am using is:
<?php
// Lista los temas alfabeticamente
$ruta = "archivos/s...
I would like to do this, but in PHP :
How to sort a matrix two-dimensional by columns in Javascript?
array= [
//Columnas: 0 1 2 3 4
/*Filas: 0*/ [9,5,3,2,7],
/* 1*/ [7,9,5,4,3],
/* 2*/ [8,4,6,0,1]
]
array...
I'm a bit new to Web Services; I am designing a client with NuSoap to consume a Web Service.
When I try to consult the path of the wsdl I get an error 404 Not Found , but when I use the SoapUI there is no error and shows m...
<php
$connect =mysqli_connect("localhost" ,"root" , "" , "helpdesk");
$query ="SELECT status, count(*) as number FROM ticket GROUP BY status ";
$results = mysqli_query($connect, $query);
$result = mysqli_query($connect,$sql);
while ($m...
I have this line of code that when executed in the console generates random numbers of 16 characters:
1e16 * Math.random()
When executing you can give this kind of results:
1e16 * Math.random() //8988522134496624
As you can see, it gen...