昨天折腾一天,还是没弄好,快崩溃了...求大神带带我。。。
回复讨论(解决方案)
求解决啊。。明明很简单的问题,百度一大堆,别人用了就解决了,我照着做就是不行
mysql 扩展已经废弃了,将来还会移除。用mysqli 或者pdo代替。
一定要用mysql 可以将DEPRECATED提示屏蔽
修改php.ini文件
;error_reporting = E_ALL修改为:
error_reporting = E_ALL &~E_NOTICE &~E_DEPRECATED
Deprecated 过时的
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);$link = mysql_connect('localhost', 'root', 'empireofanngles');
mysql 扩展已经废弃了,将来还会移除。用mysqli 或者pdo代替。
一定要用mysql 可以将DEPRECATED提示屏蔽
修改php.ini文件
;error_reporting = E_ALL修改为:
error_reporting = E_ALL &~E_NOTICE &~E_DEPRECATED
但是我把mysqli和pho也打开了啊 为什么还是错的呃,如果要用mysqli和pho是不是就把前面的分号去掉?
extension_dir = "D:/server/php/ext" 这个地方 的路径 必须正确 才能支持mysql
extension_dir = "D:/server/php/ext" 这个地方 的路径 (这是 php.ini 配置文件)必须正确 才能支持mysql
extension_dir = "D:/server/php/ext" 这个地方 的路径 必须正确 才能支持mysql
能确定是正确的
但是我把mysqli和pho也打开了啊 为什么还是错的呃
报错的是mysql扩展,跟mysqli 和 pdo有什么关系?
如果要用mysqli和pho是不是就把前面的分号去掉?
是
Quote:
报错的是mysql扩展,跟mysqli 和 pdo有什么关系?
那怎么检测mysqli跟php连接好了呢,我把代码的mysql换成了mysqli,php.ini里mysqli也是打开了的,还是报错
改好的代码和错误信息贴出来
是
行了! 谢谢谢谢,终于知道错在哪了

Laravel simplifies handling temporary session data using its intuitive flash methods. This is perfect for displaying brief messages, alerts, or notifications within your application. Data persists only for the subsequent request by default: $request-

The PHP Client URL (cURL) extension is a powerful tool for developers, enabling seamless interaction with remote servers and REST APIs. By leveraging libcurl, a well-respected multi-protocol file transfer library, PHP cURL facilitates efficient execution of various network protocols, including HTTP, HTTPS, and FTP. This extension offers granular control over HTTP requests, supports multiple concurrent operations, and provides built-in security features.

Laravel provides concise HTTP response simulation syntax, simplifying HTTP interaction testing. This approach significantly reduces code redundancy while making your test simulation more intuitive. The basic implementation provides a variety of response type shortcuts: use Illuminate\Support\Facades\Http; Http::fake([ 'google.com' => 'Hello World', 'github.com' => ['foo' => 'bar'], 'forge.laravel.com' =>

Do you want to provide real-time, instant solutions to your customers' most pressing problems? Live chat lets you have real-time conversations with customers and resolve their problems instantly. It allows you to provide faster service to your custom

Article discusses late static binding (LSB) in PHP, introduced in PHP 5.3, allowing runtime resolution of static method calls for more flexible inheritance.Main issue: LSB vs. traditional polymorphism; LSB's practical applications and potential perfo

PHP logging is essential for monitoring and debugging web applications, as well as capturing critical events, errors, and runtime behavior. It provides valuable insights into system performance, helps identify issues, and supports faster troubleshoot

The Storage::download method of the Laravel framework provides a concise API for safely handling file downloads while managing abstractions of file storage. Here is an example of using Storage::download() in the example controller:

Laravel simplifies HTTP verb handling in incoming requests, streamlining diverse operation management within your applications. The method() and isMethod() methods efficiently identify and validate request types. This feature is crucial for building


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Atom editor mac version download
The most popular open source editor

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.
