I want my site to search for any product that belonged to particular size when clicked any size option in the select input menu on mobile version like shop by size menu in www.brastop.com on mobile version. My problem is on how to extract size variable from option tag and put it in the select query in sizeres…
Symfony knp_paginator query with $_GET
I am a beginner and I try to write a query for a search input using kpn_paginator but I get an error: One of listeners must count and slice given target I can not find the solution, I checked some other topic but cannot understand how to do it in my code. My else work well but my if not.
codeigniter 4 – Controller or its method is not found
it’s running fine when i tested in local server, but when i uploaded 000webhost server to it’s showing an error. an error My Routes: my routes : can anyone helping me? my controller an error i try to hide detail’s method in url, it’s running fine in local server but why it’s show…
Remove Duplicates in an array in php
My array: I want to be able to echo out the [month] and not have it duplicated, but still associate the other values to the correct month. To get to this point I have done an array_merge to put them together like you see them. Separately they look like this: #1 #2 I have tried array_unique and that does not
htacess redirecting to js & css files
This is my typical PHP MVC Structure: This is my htaccess configuration: Write now my all requests are going through index.php. In my project files, I am accessing my css & js files located in Resources folder like following: This result in following error I tried to add following Rewrite rule in htaccess…
PHP / Docusign – Verify HMAC signature on completed event
I’m trying to secure my callback url when completed event is triggered. My Controller: public function callbackSubscriptionCompleted( int $subscriptionId, DocusignService $…
WordPress show/hide comments form
I have a problem with my wordpress theme. I can’t create a button to show/hide comments form. I have a comments.php file with this code: if ( ! comments_open() && ‘0’ != get_comments_number() &…
Uncaught TypeError: Cannot set property ‘src’ of null javascript
i have little problem when i want to insert image into form, the code work on other form but in this form it not work with Uncaught TypeError: Cannot set property ‘src’ of null here is my code javascript : form : Answer Your img tag is inside the select tag so your javascript is not recognizing th…
Laravel RouteServiceProvider map function not called
I’m using the map function in the RouteServiceProvider to manipulate some routes before are being processed any further. When I run on my local machine everything runs fine but on the production server for some reason non of the map functions are being called. To make sure the bug was not for some reaso…
URL Routing in PHP : url routes ony to 404-Not-Found page
I have a php project in htdocs folder named “das-xampp”. The index file in the root directory works as a router. I have another index.php inside views. so the structure is as below: das-xamp …