The site works perfectly on camp but I keep getting this error message
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /storage/ssd1/760/4443760/public_html/conn.php:6 Stack trace: #0 /storage/ssd1/760/4443760/public_html/index.php(2): include() #1 {main} thrown in /storage/ssd1/760/4443760/public_html/conn.php on line 6
mysql_* functions have been removed in PHP7
You probably have a php7 in XAMPP Please use PDO and... Feel the power of the light side:)
Link to nice wiki page about :) This link try it
Thanks
mysql_* functions have been removed in PHP7!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.