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 2 years ago. Improve this question I hav…
PHP I give breaks when I enter a text to store on data but when I pull it shows horizontal [closed]
I want it to show it as I store on the database I store like that It Shows This
how to block a user for some blade unsing laravel 6?
I created a small site by laravel 6, with the four blade index, create, edit, show and an authentication system, I want everyone to see the blades index and show, and the blades create and edit …
Is it possible to define a constant using a PHP stdClass object?
The PHP.net class constants page doesn’t mention anything about this, nor have I found other questions that have the answer. I was surprised I couldn’t find the answer to this, maybe I didn’t look …
prevent api to be called from anywhere in laravel application
i have a laravel application on version 5.7 . the problem is that my api is being called from outside of my server and people can easily call my api and send SMS and cause my some amount of charge . …
Laravel Change URL name detail
How do I make the post single URL like myweb.com/post-name instead myweb.com/post-id ? its works fine with posts id, but not with post name. here my current route. Route::get(‘/{id}’, [Apphttp…
regex not matching spaces on text between parentheses
Why doesn’t this regex match white space on text between parentheses? ((?:((s>)|(s{2,})|(s)))) The text below it that isn’t enclosed in parenthesis should be ignored. It’s just there. No …
Reload URL with param depending on value of dropdown
I would like to reload an URL with special parameters when a selection in a dropdown is made. The actual result is, that the URL changes and I see the URL with the parameter in the browserbar, but the …
php dynamic variable to side by side array insert to database problem
i hope i can explain my problem 🙂 $count = 0; while( have_rows(‘wordpress_acf_plugin_variable’,$id) ) : the_row(); $count++; $cevapsecenek .=’…
PHPUnit tests isolation and how to write a test where expected value depends on some value in method that changes often
So I am coding in PHP and am writing tests with PHPUnit. I have this method convertCashAmountToMainCurrency that i want to test: And i have the Constants that are being used here: I am testing the method like this: And the tests passes just fine when the expected value and the currency rate are stated in fixe…