Git Product home page Git Product logo

e_mysqli's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

e_mysqli's Issues

issue with bind_param function

Hi,

I've dectected an issue by using bind_param function.
By exemple, after calling : bind_param(iis,$param1,$param2,$param3)

my variable $param1 is transformed into an array contening other parameters.

It is a problem if I want to reuser this parameter in another query...

php 8.1.1 deprecated problem.

Hi I install just 8.1.1 php version . I get warning

( ! ) Deprecated: Return type of EMysqli\EMysqli::prepare($query) should either be compatible with mysqli::prepare(string $query): mysqli_stmt|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in E:\xampp\htdocs\kabaskal.com\vendor\noahheck\e_mysqli\src\EMysqli.php on line 29

Best practice to insert multiple rows at once?

First of all thank you for this great library, it helps a lot in my workflow!

Now, I want to INSERT more than one row at the same time, using something like this:

INSERT INTO table_name (ref_key, value) VALUES
    ROW(123, 'value_1'),
    ROW(123, 'value_2'),
    ROW(123, 'value_3');

In this case ref_key would always be the same, stored in the variable $ref_key = 123,
and the value would be different for each row, stored in the array $values = ['value_1', 'value_2', 'value_3'].

Is it possible to build a mysql statement like this using E_mysqli?

Strict Standars Error

Hello Noah,

thank you very much for this nice peace of code.

I got an error, when i run the script:
Strict Standards: Declaration of E_mysqli_stmt::bind_param() should be compatible with mysqli_stmt::bind_param($types) in ... on line 220

I have no idea why the parameters are to be wrong. The parameters seem to be like in the parent class function.

Do you have an idea?

Thank you

Dave

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.