Stephen Austin, 07.08.18 18:28 I am a student and I am currently working for a company that would like to take over a web site developed by another student in the past ... Gavin, 01.04.19 16:27 $result = $this->stmt->fetchAll(); Thapelo, 06.06.17 20:14 When an invoice is made it links to the customer by the incremental ID of the invoice. so I was wondering if it made sense to keep them separate or go MUCH simpler keeping one for all without having problem recalling one connection only in my functions with global $conn... PHP version: 5.6.21 MySQL 5.7Although it's just to illustrate the handling process, I have to dig into these codes deeper. May be it's mysql or MS SQL server? Thanks alot for the reply! You may read my answer with explanation here: thanks - in practice, never. Whoever you are. I have made it work without an api, and with a simple php api . However, mysqli is not mentioned not implied here. I have a user input box which starts a search of a PDO MySql table :- using this code snippet. You may find useful my article on the PHP error reporting configuration: Feel free to drop a line if something is still unclear or you disagree with the proposed solutionfirst thx for your tutorial. Richard, 11.01.18 16:41 I am trying to select files with owner='xHswu' and format='mkv'. As far as I know, PDO doesn't support such a database. Shouldn't have been the exact results?Nope, as long as this code works, there should be no difference. or do I put all of them in one huge try catch block? But we don't double the surrounding backticks, neither removing any. I just migrated from MDB2 because of it's unfinished state and difficult install method and chose PDO. Please can you help me ? i used wireshark to expose the conversation (WS is your friend :) and it appears the completely prepared query is sent to myria. Alan Cameron, 24.10.16 22:21 So the only difference I would make isWhereas you need to worry about escaping/backticking only if your query parts are coming from the user side (field names for example). Elizabeth, 12.04.20 04:27 I had the same issue before but no time to investigate and develop the universal solution. how to fix this issue that if I don't want to update image, image should remain there???? Can you verify if they use proper PDO? There is indeed too much misunderstanding in the matter. moose, 14.09.18 01:03

Is this just not done? David.So i understand that i shouldn't use try .. catch for error reporting.

// do something else It is slightly faster than performing the same query again and again, as it does query parsing only once. jayenn, 23.12.17 23:49 via this code-