2017 © Pedro Peláez
 

library mysqli_etc

how mysqli_prepare should work

image

noodlehaus/mysqli_etc

how mysqli_prepare should work

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

mysqli_etc

Cruddy functions under the mysqli pseudo-namespace. Requires PHP 7.1+, (*1)

$connection = mysqli_connect($host, $username, $password, $database);

# perform an insert
mysqli_insert(
  $connection,
  'INSERT INTO users VALUES (?, ?, ?)',
  $username,
  $email,
  $password
);

# perform an update/delete
mysqli_update(
  $connection,
  'DELETE FROM users WHERE username=?',
  $username
);

# perform a fetch
mysqli_select(
  $connection,
  'SELECT * FROM users WHERE username=? LIMIT 1',
  $username
);

# create an interpolated sql statement
$statement = mysqli_interpolate(
  $connection,
  'SELECT * FROM users WHERE username=?',
  $username
);
mysqli_stmt_execute($statement);

License

MIT http://noodlehaus.mit-license.org, (*2)

The Versions

08/02 2017

dev-master

9999999-dev https://github.com/noodlehaus/mysqli_etc

how mysqli_prepare should work

  Sources   Download

MIT

The Requires

  • ext-mysqlnd *
  • php >= 7.1.0

 

mysqli prepared statements badphp

16/02 2016

1.1.0

1.1.0.0 https://github.com/noodlehaus/mysqli_etc

how mysqli_prepare should work

  Sources   Download

MIT

The Requires

  • php >= 7.0.0
  • ext-mysqlnd *

 

mysqli prepared statements badphp

25/01 2016

1.0.0

1.0.0.0 https://github.com/noodlehaus/mysqli_etc

how mysqli_prepare should work

  Sources   Download

MIT

The Requires

  • php >= 7.0.0
  • ext-mysqlnd *

 

mysqli prepared statements badphp

25/01 2016

0.4.0

0.4.0.0 https://github.com/noodlehaus/mysqli_etc

how mysqli_prepare should work

  Sources   Download

MIT

The Requires

  • php >= 5.6.0
  • ext-mysqlnd *

 

mysqli prepared statements badphp

23/01 2016

0.3.0

0.3.0.0 https://github.com/noodlehaus/mysqli_etc

how mysqli_prepare should work

  Sources   Download

MIT

The Requires

  • php >= 5.6.0
  • ext-mysqlnd *

 

mysqli prepared statements badphp

20/01 2016

0.2.0

0.2.0.0 https://github.com/badphp/mysqli_etc

how mysqli_prepare should work

  Sources   Download

MIT

The Requires

  • php >= 5.6.0
  • ext-mysqlnd *

 

mysqli prepared statements badphp

15/01 2016

0.1.0

0.1.0.0 https://github.com/badphp/mysqli_interpolate

how mysqli_prepare should work

  Sources   Download

MIT

The Requires

  • php >= 5.6.0
  • ext-mysqlnd *

 

mysqli prepared statements badphp