How to parse AI JSON response and extract array text in Smarty template? [duplicate]
[Code Block] I am getting an AI response in JSON format and I want to parse it in a Smarty template. The actual text I n...
Latest news, tutorials, and updates from the PHP community
6993 articles available
[Code Block] I am getting an AI response in JSON format and I want to parse it in a Smarty template. The actual text I n...
WordPress site infected with malware causing redirect to external domain even after disabling plugins and theme I’m deal...
I am using a curl request for my backend php class to access google's computeRoute. when I run a curl request with a str...
I am developing a login system using CodeIgniter 4 and PHP 8. When I access the login page via `GET` (`/auth/login`), th...
I'm using code that displays a shortcode on my online store pages. This shortcode displays a horizontal list of all top-...
I have a PHP table in this format: [Code Block] Now I want to put it in a database. I thought about two tables, one with...
Description I have recently updated my code to put layouts in `resources/views/layouts` instead of `resources/views/comp...
I have read upon prepared statements and have ajax-prep-stmt.php with [Code Block] Everything is working. Question: `$st...
I’m running a web app on an intranet IP over plain HTTP and seeing inconsistent login behavior on a Zebra PDA using an A...
I am seeing what looks like UTF-8 corruption in the `Subject` header when using Symfony Mailer / Mime 8.0.x with PHP 8.4...
I have made a very simple form with a textarea, connected to a database, as a sort of online notepad. I managed to insta...
I'm using code that displays a popup notification about adding a product to cart. [Code Block] My website uses the Woodm...
Showing 397 to 408 of 6993 articles