i upgradefrom php version 2.2 to 2.4 and php 5.6 too. The problem is with the new php the function does not support mssql_connect so i installed the new driver for sqlsvr and when i made the Database connection it work fine. I need some help. How can I change this code from mssql to sqlsvr thanks you and i
phpinfo() not showing in test page on windows 7 with apache 2.4 and php7
I am building a new intranet server (Windows 7) replacing an old one and have installed Apache 2.4.33 and PHP 7.2.7, The services start up just fine and I can browse html pages from the server, the phpinfo in this test page does not show any results, the IP address does work and displays the correct informati…
Upload file shows Error Notice: Only variables should be passed by reference in
I tried to take it off this error I do not understand why it happens, because I am uploading the file correctly… Right now is uploading the files, it shows me the error Error Notice: Only variables should be passed by reference in… Answer When calling end(), you must pass an array as a variable an…
How to compare value of the form before and after submitting in Symfony?
I am using symfony 3.4.8 version. When I am updating form data I want to see the differences before submit and after submit. After $formEdit->handleRequest($request); line old value is changing to the new value but I don’t want it. but I could not do this. Here is my controller. Answer In php, object…
In Macroable.php line 96: Method body does not exist
I’m fairy new to Laravel. I have created a migration file named: create_notes_table and when running command php artisan migrate this error message pops up. my create_notes_table file content Answer As the error message states there is no body() method in migrations. https://laravel.com/docs/8.x/migrati…
How to use on Laravel guard for the main domain and another for the subdomains
I’m building a multi-tenant application where the idea is the admins access through the main domain (http://myapp.app) to the dashboard and the regular users access to another dashboard on their …
Change percentage decimal precision in Woocommerce deposits plugin payment plan
I’m using the Woocommerce Deposits plugin. It uses percentages to calculate the deposit and payment. I need the deposit and payment to be an exact amount. I can calculate the exact percentages to give the exact amount but the plugin does not allow decimal points for the percentages. It rounds up or down…
Could not find any fixture services to load
i know this question has been asked already multiple times: Symfony 3.4 and Fixtures Bundle issue with bundle version 3.0 Symfony 3.4.0 Could not find any fixture services to load Symfony Doctrine …
How can I change the product in Woocommerce Storefront to ?
I’m using a child theme to Woocommerce’s Storefront theme. On the home page, it is rendering the product names of the featured products as h2s. I would like to change these to h3s (SEO reasons). The …
PHP MYSQL print
I have a list of results depending on the store numbers, each store number is printed with all its info, the first option “ALL” displays info from ALL the store numbers, I want the option “ALL” to just display info from store number 1, 2, and 3, not ALL of them. This is my code: Answer…