Skip to content

PHP How to Remove/Replace Unknown question mark diamond characters

I am using PHP to access data on old machines and output them. Putty shows: ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒NONE. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Its the weird formatting in a attempt to show data in a more clean way PHP …

Changes to page are not saved (on page reload)

When im logged in i can see the “Remove Stone” button and when i click it, it goes away but when i reload the page it comes back. Any help? Thanks a bunch!Im also loading this into the html page with a seperate php file using this: Also if anyone has a better solution on what to do, im all

Laravel : How to add days to datetime field?

How to add days to datetime field in Laravel? For example, there is a updated_at field in articles table: I want to add 30 days to updated_at field. In Carbon, it could be done like this: But how to do it in above example? Answer Since updated_at and created_at fields are automatically cast to an instance of …

Checking duplicated data in Laravel

This code work as send to inn_db table from ext_db. but it cannot check if the data is the same or different in inn_db. So there posited same values in inn_db. How could I add that job?. Laravel-5.4, MySQL, InnoDB. Finally, I got the answer as below code with connect view when after discussion. Thanks to @Pra…

Broadcasting, laravel-echo-server not receiving events

I’m using Laravel in a project and I want to use broadcasting with laravel-echo-server and Redis. I have set up both in a docker container. Output below: Redis A few warnings but nothing breaking. laravel-echo-server The client seems to join the channel without any problems. However, if I kick of an eve…

Add a line break in Woocommerce Product Titles

Let’s say my product title is: Brown Colored Leather Shoes But based on my column width the title looks like this: Brown Colored Leather Shoes I know it’s possible to do a character …