Database aplikasi ppdb online sederhana dengan menggunakan mysql di phpmyadmin, tutorial membuat database dengan mysql di phpmyadmin, query sql di phpmyadmin. Menghilangkan index.php pada Codeigniter. Pembuatan Database Aplikasi PPDB Online menggunakan MySQL di PhpMyAdmin Kode Rumit 2017-07-01T10:00:00+07:00 5.0 stars based on 35. Aug 05, 2012 PPDB Online - Script PHP Pendaftaran Siswa Baru. Sistem informasi Pendaftaran Peserta Didik Baru tingkat SMK. Dibangun dengan menggunakan platform PHP 4 dan MySql 2. Telah diuji pada XAMPP 1.6.4 dan berjalan dengan baik secara online pada server Debian Leny dengan Apache dan MySQL bawaan. Sistem yang dibuat mengharuskan peserta didik mengambil.
Severity: 8192
Message: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
Filename: mysql/mysql_driver.php
Line Number: 136
Backtrace:
File: C:wampwwwciapplicationcontrollersc_testing.phpLine: 27Function: __construct
File: C:wampwwwciindex.phpLine: 315Function: require_once
in my codeigniter file in databease.php i use this
then in my testing.php file
Shah
ShahShah
1 Answer
You need to change the database config. Go to the following path in your project
/application/config/database.php
find the dbdriver
setting and make sure it's mysqli
.LinesofcodeLinesofcode
Not the answer you're looking for? Browse other questions tagged codeigniterionic-framework or ask your own question.
This question already has an answer here:
- Why shouldn't I use mysql_* functions in PHP? 15 answers
Uncaught Error: Call to undefined function mysql_connect() in E:newxmphtdocsschoolmssservicemysqlcon.php:7 Stack trace: #0 E:newxmphtdocsschoolmssservicecheck.access.php(2): include_once() #1 {main} thrown in E:newxmphtdocsschoolmssservicemysqlcon.php on line 7
nikknikk
marked as duplicate by Nigel Ren, apokryfos, il_raffa, Sean, BowdzoneJul 20 '18 at 6:56
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1 Answer
You are most likely using PHP 7.x which has this function removed.
Warning
This extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Instead, the MySQLi or PDO_MySQL extension should be used.
See http://php.net/manual/function.mysql-connect.php
sterossteros