mysqli
Are there ways of increasing the execution speed of mysqli->prepare?
My tests are running pretty slow... I\'ve got under 100 tests, but it still takes over 10 seconds开发者_开发百科 to run on a fast machine. I tried disabling code coverage, and using caching for the co[详细]
2023-04-12 19:15 分类:问答MySQL IFNULL + PHP Prepared Statements
I have a prepared statement: $query = \"Select id, start_date, IFNULL(end_date,start_date) as end_date FROM table WHERE id=?\";[详细]
2023-04-12 12:06 分类:问答Scope of a variable in PHP5 with mysqli
<?php class UBC_DB { private $db; public function connect() { $db = new mysqli(\'localhost\', \'root\', \'root\', \'NewsTable\');[详细]
2023-04-11 19:41 分类:问答Warning: mysqli_query() expects parameter 1 to be mysqli, null given in PHP [duplicate]
This question already has answers here: Warning: mysqli_query() expects parameter 1 to be mysqli, null given i开发者_运维技巧n[详细]
2023-04-11 14:33 分类:问答PHP - MySQLi Replace with Regex / Regexp / Regular Expression
Sorry for that \"Let me google that for you\"-Question, but I can\'t find an answer. I want to delete specfic elements from columns in my database. So I search with the following code for them: (it w[详细]
2023-04-11 12:16 分类:问答Benchmarking Performance of node.js (cluster) with mysql pools : Lighttpd + PHP?
Edit(2): Now using db-mysql with generic-pool module. The error rate has dropped significantly and hovers at 13% but the throughput is still around 100 req/sec.[详细]
2023-04-11 09:07 分类:问答Truncation of a string in MySQL during insertion and when string contains special character 'á'
Why do a string truncate when a try to insert in a MySQL table? The string truncates before the character á. For instance, Málaga - Real Madrid becomes only a Min the database.[详细]
2023-04-11 04:39 分类:问答Inserting HTML data into db table
I\'m using following function before insertion html markup data into db table function html($data, $db)[详细]
2023-04-11 03:44 分类:问答If PHP's mysql extension supposedly does not support transactions like mysqli, why do I see people using it for transactions online?
I was reading about mysql transactions and I was under the impression that you had to use either mysqli or PDO in order to create transactions.However, I see all over stack exchange and other sites ex[详细]
2023-04-10 19:04 分类:问答Deleting multiple records(rows) from tables using checkboxes
Trying to delete multiple rows using check-boxes. At first i\'m generating table of contents with checkbox column. Then posting data to php side. The problem is, php side returning back to the current[详细]
2023-04-10 07:31 分类:问答