I need to make an Insert to my database, my table is called "Topic" which keeps an idTema, textTeam and date. The point is that when I want to insert a topic, I must check if a similar theme already exists (in other words). I'm doing something l...
I am trying to develop a graphical interface for my MySQL database with Python 2.7 TKinter. I was checking the tkinter documentation as well as other sources but I can not get the records in my table to be displayed inside the list box instead o...
I'm working on a PHP project with connection to MySQL , but I have a problem, when I do select , in some cases foreach can go through the PDOStatement object and in others do not, I do not know if I owe it to the cons...
I have a Score.php file to update to a field called score of integer type in a mysql database:
$con = mysqli_connect("localhost", "root", "", "basededatos");
$user_id = $_POST["id_user"];
$username = $_POST["username"];
$score= $_POST["score"...
I have a query regarding the logic that I should use to use in production in a real estate system:
In a form charge (itero) the environments:
// ... formulario
@forelse(App\Ambiente::all() as $env)
<fieldset class="form-group col-md-...
Good morning everyone.
I am studying PHP and I have had a problem entering data in MySQL. I have a contact entry code, I would like you to help me improve it, that I can make inquiries and how to do it, if possible with some practical example...
Good afternoon I have the following code:
<div class="form-group">
<label for="exampleInputEmail1">Centro de formación: </label>
<select class="form-control" name="centroformacion" selected="Cen...
Good afternoon, as you can see I present the following problem:
error (1054, "Unknown column 'useriorol.id' in 'field list'") django 1.10
at the time of entering the administrator I select the useriorol option and I see this error. the admin....
I have a database with 6 tables T_cliente , T_hotel , T_reserva , T_tarcre , T_tarifa and T_tiphab .
Here is the UML diagram. What I do not know how to do, is to check if the room is available or not....
Good morning for everyone. The error that comes up is the following:
At the moment I am trying to connect the database with django using mysql and the version of python 2.7.10 when using python manage.py and makemigrations in the end is as fo...