Jump to content

MySQLi Error; mysqli::options()


timothyarden

Recommended Posts

 

$DatabaseConnection -> options( "MYSQLI_OPT_CONNECT_TIMEOUT", 300 );

 

Does anyone know why this code is getting this error warning: Warning: mysqli::options() expects parameter 1 to be long, string given in... (definitely this line)

 

 

This didnt help me: http://www.php.net/manual/en/mysqli.options.php

Link to comment
https://forums.phpfreaks.com/topic/287994-mysqli-error-mysqlioptions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.