mysqli
Switch to mysqli or stay with mysql?
We have an app here that has been in development (and now in production) for more than a year. Which has in total over 500 mysql_* calls.[详细]
2023-03-30 20:08 分类:问答return total of stmt->execute()
How do I find out the number of rows return from a query when using stmt->prepare(); / stmt->execute();[详细]
2023-03-30 14:41 分类:问答Is this a MySQLi bug? Returned fields are truncated to 8193 bytes under certain circumstances
When I SELECT a Geometry column with AsText(), the returned value is truncated to 8193 bytes. This looks like a bug to me, but I\'d like to post here first to see if I\'m missing anything with the w[详细]
2023-03-30 08:38 分类:问答mysqli method calling order
I know that from the php manual that bind_result must be afte开发者_如何学JAVAr execute and prior to calling fetch.[详细]
2023-03-30 05:28 分类:问答What's wrong with mysqli::get_result? [duplicate]
This question already has answers here: Call to undefined method mysqli_stmt::get_result (10 answers) Closed 2 years ago.[详细]
2023-03-30 01:35 分类:问答Php stuck because to long load on mysqli query in php function, how to fix?
i\'m using a php function to get dome mysql data from other mysql host than my webserver. Function: public function theMysqli($build){ // $build is given by othe code (no usedata)[详细]
2023-03-29 14:16 分类:问答Are there any security benefits to using PDO::query vs. mysql_query?
I\'m looking to refactor some legacy PHP code, and I 开发者_Go百科know that PDO is more secure with the addition of prepared statements and such, but I am wondering if there are any security benefits[详细]
2023-03-28 19:27 分类:问答Database query gives no error either no result?
Hello my code does not give any error but not result of a name thats in db ? the code is the following for the form to process the data the user inputs to the php file.[详细]
2023-03-28 13:20 分类:问答Which is faster for Large Data Sets? mysql, mysqli or PDO?
I am working with a rather large database of information now and so开发者_高级运维me queries return quite a hefty amount of information. From what I have read, foreach() is quicker than using while()[详细]
2023-03-28 13:16 分类:问答Error in query while performing insert
this is my code and for which i m getting开发者_如何转开发 error query mssg: $name = mysqli_real_escape_string($dbc, trim($_POST[\'fname\']));[详细]
2023-03-28 06:28 分类:问答