Answer the question
In order to leave comments, you need to log in
Denver. How to fix fatal error call to undefined function mysql_connect db()?
<?php
$login = iconv('UTF-8', 'windows-1251', $_GET['lge']);
$pass = iconv('UTF-8', 'windows-1251', $_GET['lgp']);
// Подключение к MySQL
$mysql = mysql_connect("127.0.0.1", "anton", "1234567");
if (!$mysql) {
echo('enter');
exit;
}
// Выбор нужной базы
$selected = mysql_connect_db("alfa", $mysql);
if (!$selected) {
echo('base');
exit;
}
fatal error call to undefined function mysql_connect db()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question