I don’t understand my problem. If you can just give me an idea. I have a dateTime field who works but my field years have a bizzare range (2015-2025). I want to have a bigger range (e.g : 1960-2040). …
Tag: php
Url query parameters becoming visibly encoded upon redirect – Symfony 2
I am attempting to persist my query parameters when redirecting to a new path with Symfony2, however the method I am using appears to show encoded query parameters in the URL… return $this->…
“Invalid platform app” error using Instagram Basic Display API
I am trying to use Instagram Basic display API but when I post the authorization code to get the access token I keep getting the following error {“error_type”: “OAuthException”, “code”: 400, “error_message”: “Invalid platform app”} I am following all…
Prevent users from changing amount charged on payment page
I am trying to integrate payment gateway on my website. There are three courses each having different prices. I am passing the value of the amount and package to form.php and i have made the input …
Laravel table relationship to pivot table
I’m confused on how to get my model setup in laravel with a table that is connected to a pivot table. Here’s the problem Say I have Relationship between the tables are different areas type belongs to different locations. i.e: beach, 25m pools, kids pools, bbq, etc area_test is connected to the piv…
Woocommerce: How to display SKU for variable product options dropdown
How I can view the SKU code in the dropdown option for the variable products? I have tried to use this code but it is only to view the price option in woocommerce. Cause recently I use the other code …
PHP Codeigniter Session error: Message: session_cache_limiter(): Cannot change cache limiter when session is active
php -v:7.3.11 codeigniter -v:3.0.3 A PHP Error was encountered Severity: Warning Message: session_cache_limiter(): Cannot change cache limiter when session is active Filename: core/MY_Controller….
default value for file input form when update image in laravel 5.8
I’m Using Laravel 5.8, I’m trying to make update data in laravel, the data is contained images, when the form update did not get a new image, laravel displays an error, that the image is null, can I …
SQL query joining two different tables. Find online status from user’s last interaction
Problem description: Finding online status of therapist users based on last interaction in Session table. Cannot keep last interaction date on User table but it should be separated on Session table. …
Roles and permissions in php
I am making a menu, but I want to limit it to only some users with a specific permission can see it. the query: SELECT idpermission,userid FROM user_permissions WHERE userid = “U001” Result: User …