Community
Articles Topics Q&A
Learn
Course Programming Dictionary
Tools Library
Development tools Website Source Code PHP Libraries JS special effects Website Materials Extension plug-ins
AI Tools
Leisure
Game Download Game Tutorials
search
English
简体中文 English 繁体中文 日本語 한국어 Melayu Français Deutsch
Login
singup

  • Popular searches:
  • PHP
  • MySQL
  • jquery
  • HTML
  • CSS
  • Whole station
  • Course
  • Article
  • Q&A
  • Download
Found a total of 1452 related content
Why Does mysqli_query() Throw \'mysqli_query() expects at least 2 parameters, 1 given\'?

Course Introduction:mysqli_query() Requires Two ParametersThe error "mysqli_query() expects at least 2 parameters, 1 given" indicates that the mysqli_query() function...

2024-10-31 comment 0  480

Why is mysqli_query() Throwing an Error: \'mysqli_query() expects two parameters\'?

Course Introduction:mysqli_query() Expects Two ParametersThe question pertains to errors encountered while executing a PHP script involving the use of mysqli_query()....

2024-10-31 comment 0  852

Why does `mysqli_query()` throw 'Warning: mysqli_query() expects parameter 1 to be mysqli' error?

Course Introduction:Understanding the "Warning: mysqli_query() expects parameter 1 to be mysqli" ErrorWhen attempting to execute a query with mysqli_query() in PHP,...

2024-11-24 comment 0  428

Why does `mysqli_query()` return a 'Warning: mysqli_query() expects parameter 1 to be mysqli, null given' error?

Course Introduction:Warning: Understanding mysqli_query() Parameter ErrorWhen using mysqli_query() in PHP, it's crucial to ensure that the first parameter is a valid...

2024-12-05 comment 0  407

Is `mysqli_query()`'s `or die()` Approach Truly Obsolete?

Course Introduction:Does mysqli_query() Really Have to Die?When utilizing mysqli_query(), developers commonly rely on the or die() construct to terminate the script...

2024-12-20 comment 0  1165

MoreTechnical Articles
Scala Tutorial

Course Elementary  13956

Course Introduction:Scala Tutorial Scala is a multi-paradigm programming language, designed to integrate various features of object-oriented programming and functional programming.

CSS Online Manual

Course Elementary  82525

Course Introduction:"CSS Online Manual" is the official CSS online reference manual. This CSS online development manual contains various CSS properties, definitions, usage methods, example operations, etc. It is an indispensable online query manual for WEB programming learners and developers! CSS: Cascading Style Sheets (English full name: Cascading Style Sheets) is an application used to express HTML (Standard Universal Markup Language).

SVG Tutorial

Course Elementary  13294

Course Introduction:SVG is a markup language for vector graphics in HTML5. It maintains powerful drawing capabilities and at the same time has a very high-end interface to operate graphics by directly operating Dom nodes. This "SVG Tutorial" is intended to allow students to master the SVG language and some of its corresponding APIs, combined with the knowledge of 2D drawing, so that students can render and control complex graphics on the page.

AngularJS Chinese Reference Manual

Course Elementary  24774

Course Introduction:In the "AngularJS Chinese Reference Manual", AngularJS extends HTML with new attributes and expressions. AngularJS can build a single page application (SPAs: Single Page Applications). AngularJS is very easy to learn.

Go language tutorial manual

Course Elementary  27601

Course Introduction:Go is a new language, a concurrent, garbage-collected, fast-compiled language. It can compile a large Go program in a few seconds on a single computer. Go provides a model for software construction that makes dependency analysis easier and avoids most C-style include files and library headers. Go is a statically typed language, and its type system has no hierarchy. Therefore users do not need to spend time defining relationships between types, which feels more lightweight than typical object-oriented languages. Go is a completely garbage-collected language and provides basic support for concurrent execution and communication. By its design, Go is intended to provide a method for constructing system software on multi-core machines.

More courses
  • If mysqli_query is encapsulated, is there any way to use mysqli_insert_id?

    public static function mquery($sql){ $conn = self::db_connect(); $rs=mysqli_query($conn,$sql); mysqli_close($conn);public static function insert($table,$data){ $conn=self::db_connect(); $fields =

    2018-10-14 07:38:59 0  1  1356

  • mysqli_query() in different php directories: Couldn't fetch mysqli

    I encountered a very confusing problem. There is nothing wrong with the MYSQLI connection. /index.php //Execute mysqli update successfully/admin/index.php //Execute mysqli update failed and the database configuration file is in /core/database.php----How to solve this problem? Warning: mysqli_query(): Couldn't fetc

    2020-07-11 17:46:16 0  0  1351

  • How to display mysqli_query errors

    I'm trying to display mysqli_error in my php script, I keep getting a black page if the query fails, but returns a response on success, both mysqli_error($conn) and mysqli_errno($conn) just show a black page if the query fails . This is my database connection script<?php$ser="test";$user="test";$pass="test";$db=&q

    2023-09-01 13:52:57 0  1  841

  • About mysqli_ferch_assoc() method

    $result=mysqli_query($sql,$con)if($row=mysqli_fetch_assoc($result){}Why is the if condition not executed?

    2018-01-28 11:18:35 0  3  1411

  • Display categories as (ul) items and subcategories as (li) items in php

    functionshowcategory($parentid){$sql="select*fromcategorieswhereparent_id='".$parentid."'";$result=mysqli_query($GLOBALS['conn'],$sql);$output="<ulid='tree1'>\n";wh

    2024-03-31 17:06:59 0  2  508

MoreQ&A

Public welfare online PHP training,Help PHP learners grow quickly!

About us Disclaimer Sitemap

© php.cn All rights reserved