Skip to content

HTML Calendar and JS problems

I would like to make a Javascript-based calendar for managing holidays. My problem is, I am using a SQL database to store the holidays, which I am accessing with PHP. How can I use the results of the PHP query in a JS Script ? For example, to add holidays for an employee i have to do that : When

Why does PHP 7.4 with mysqli only run in root directory? [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed last year. Improve this question Recentl…

Stream Filter memory usage

PHP v7.4.16 I have a fairly basic stream filter (which extends php_user_filter), which I’m using to normalise CSV files as they’re transferred to another destination (s3 bucket using the stream …

Doctrine custom types, problems updating schema

I’m having problems when I try to update my schema with doctrine “bin/console doctrine:schema:update -f” The problem is [DoctrineDBALException] Unknown column type “FinancesBank…

How to add elements to a string from $row? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed last year. Improve this question How I can get this query to create another string from the outputted rows? You see, ‘$co…

Why the SOAP request is empty?

I develop the system to export some data from the client’s side using the SOAP. I have a link to their staging wsdl, and implemented some kind of the SOAP client, but unfortunately my SOAP request is empty and the response is the error one. Link to WSDL: https://rewardsservices.griris.net/mapi/OrderMana…

PHP: Encode UTF8-Characters to html entities

I want to encode normal characters to html-entities like but doesn’t work. It outputs the normal charaters (a A b B) in the html source code instead of the html-entities. How can I convert them? Answer You can build a function for this fairly easily using mb_ord or IntlChar::ord, either of which will gi…