I getting the "500 Internal Server Error" message when i try to execute this code:
<?php
$usuario = $_POST['usuario'];
$senha = $_POST['senha'];
$sql = "SELECT * FROM usuarios WHERE usuario = '$usuario' AND senha = '$senha' ";
require_once('db_class.php');
$objDB = new db();
$link = $objDB->conecta_mysql();
$resultado_id = mysqli_query($link, $sql);
Forum:
WampServer English