Create a friendly URL like this:
RewriteRule ^productos Productos.php [NC,L]
but now I want to make a 301 redirect to midominio.com/Productos.php so that whenever I type Productos.php redirects me to midominio.com/p...
It does not reflect the data when adding a where in a MySQLi query, if I delete the WHERE the data is reflected.
<?php
$stmt = $con->prepare("SELECT id_world,hour,date_matches,local,visitor,active FROM world WHERE active=?...
I could not determine a good title for my problem but it is the following one, I am doing a small page to make queries to a database, the idea is that while the user writes in an input the results are shown in a table , for that I am implemented...
I have a problem with connections to mysql
currently from a PHP I establish connections to mysql in the following way
<?php
$date = strftime( "%Y-%m-%d %H:%M:%S"); //FECHA
function conectarse($host,$usuario,$password,$BBDD){
$link...
I have an error with a php line, and I can not find the error.
function existingEmail($Email){
global $mysqli;
$stmt = $mysqli->prepare("SELECT id FROM users WHERE Email = ? LIMIT 1");
$stmt->bind_param("s", $Email);
$stm...
I have this line of code include_once('./config/dbh.inc.php) to include the database to a data upload file but I get this error:
Warning: include_once(./config/dbh.inc.php): failed to open stream: No such file or directory in C:\xampp\h...
In this case I am sending values (of a select and a number), the values pass normally, but the problem is that when I select one, the other one is deselected, but what I would like is that they be selected (if is that you select the two), as you...
I have a table that shows the records of orders delivered, and to finish the registration there is a "Add referral" button to save the referral in the database. I want to do that when the table reloads and if the referral has value that does not...
I've been trying to traverse this JSON but it gives me the blank value when doing echo.
{
"Score": {
"GameKey": "201811102",
"SeasonType": 1,
"Season": 2018,
"Week": 11,
"Date": "2018-11-18T13:00:00",
"AwayTeam": "DAL...