PHPRunner > Database API > ChatGPT, Google Bard & Microsoft Bing Chat |
11/20/2023 4:12:39 PM |
PHPRunner General questions | |
![]() I wanted to convert some PHP code to PHPRunner Database API compatible code with AI Because as you might know in PHPRunner we can use multiple connections (when you switch to Enterpise edition) and if you use the global $conn you will have a lot's of problems with multiple connections if you are not using the Database API, like described in this forum post: https://asprunner.com/forums/topic/28661-conn-object-within-a-SAAS-environment I tested it with 3 AI; ChatGPT, Google Bard and Microsoft Bing Chat. The code is not so relevent as the results that these AI bots provided. I will not post the ChatGPT & Google Bard translations because they didn't use the PHPRunner Database API at all. My Question was: "Could you convert this php code to use the PHPRunner DB API" The original PHP code is in 1. reply And the result is in 2. reply |
|
![]() |
Davor Geci authorDevClub member 11/20/2023 |
Read the 1. post, <?php |
![]() |
Davor Geci authorDevClub member 11/20/2023 |
Read the 1. post, <?php |
![]() |
francesco 11/21/2023 |
I don't know if can be useful for your case, but I use chatgpt a lot and before asking a problem I usually give a working example to 'train' the AI. Writing code is not my job, but thanks to these new instruments I'm able to make very difficult tasks (for me): for example yesterday I made something like this in my application. Anyway you made a very useful test. |