When using the PHP rename function I need to use text in a variable in the rename, but I can only get the rename to work when I manually enter the text, for exa
I integrated Apple Pay service of Payfort using PHP but got error in response. Failed to execute service have applied all possible solutions including regenerat
I have an HTML form field $_POST["url"], having some URL strings as the value. Example values are: https://example.com/test/[email protected] https://exa
I installed "Knp Paginator" and everything works fine but if i try to do a search in the search bar (this search bar does not depend on Knp Paginator) i have th
$db_host = ""; $db_user = ""; $db_pass = ""; $db_name = ""; I have to fill out these, so I wanted to check but I used 'ampps' to install mysql. so I couldn't f
I need to assign 1 image to every 5 people in the array using foreach and a forloop <?php $clubs["Example 1"] = 25; $clubs["Example 2"] = 12; $clubs["Example
this is what my code looks like: Any help will be very appreciable. <?php $btn = get_field('line_btn'); if( $btn && in_array('stu
I'm trying to register a credit card with MangoPay. I've installed the mangopay/php-sdk-v2 package. To register a credit card, it needs three steps. Create a to
I'm very new to WordPress and php, I started using it yesterday and it was all going smoothly until I decided to install some starter templates. the installatio
I am currently working on a Woocommerce site, where I need to setup shipping with a flat rate to Denmark - and no shipping to other countries. When I input corr
I've read all available solutions, but no chance. It always redirects to the 403 page with message (Invalid Signature). Here is my route : Auth::routes(['verify
What can be reason I got CORS error but it was actually NOT a CORS error? Please refer to the following pictures to see what I mean: The console output the erro
I am looking to add PHPDoc comments to my project, I previously have various versions before PHPDoc was used, these are tagged releases in GitHub. Is there a me
How to set onEachSide at controller level on laravel? on blade we use: {{ $records->onEachSide(2)->links() }} How this can be done at controller level?
I have a request : $comments = $post->comments()->with('replyComments:id,post_id,user_id,content,created_at,reply_comment_id')->orderBy('created_at', '
I get this error when I try to enter huge text and I dont know how to fix it.
I use PHP to dynamically render these lists that I fetched from the database, and each one has the same class, because I can't change it, it renders dynamically
convert the image into qr code
I want to export the image links of my products in different columns. For example like IMG1 IMG2 IMG3. So i wrote this code below (Not Worked): foreach( $articl
I am looking for a way to create a solution to simplify my linking. On a site I am creating there will be multiple places (for example 15) where there will be a