I made query in my controller and send it to my blade : public function editContractorAssociation(DeveloperContractorAssociation $developer_contractor_association, Request $request) { $id …
Tag: php
Laravel5.8: The GET method is not supported for this route. Supported methods: POST. issue
I am setting user profile update section. But when I went to profile create page, I got a following error. The GET method is not supported for this route. Supported methods: POST. I tried php …
Images are upload in folder via form but name in DB is not image name. Instead it’s a path to XAMPP tmp file?
In my admin table, the column image is showing this path after the image uploads: C:xampptmpphpC6DA.tmp but image name don’t. Image is perfectly uploaded to desired folder and that is ok… I’…
Get data from multiple rows
I would like to get the value of the column uid from all rows where the value of the column city is london. I have tried it like this: $this->getDoctrine()->getRepository(Personal::class)->…
Obtaining min/max values of an element with xpath
I have an xml sheet like: 3.00
Trying to connect two tables together by using id value from one table on the other
So i’m pretty new to sql and i’m trying to figure out how to connect two tables together. I have a table named customers and a table named pets and i want to assign the pets to specific customers. …
Remove pieces of string
Ok, ive imported contents of .txt file into array, and im having problems with removing some parts of the string in array. This is the sample output of the array: [55] => …
How to decrypt data using phpseclib class Crypt_RSA that was encrypted by travist/jsencrypt
im using linux ubuntu server with nginx,mysql,php7.3 I’m trying to encrypt message using public rsa key, that was generated on server side using phpseclib (http://phpseclib.sourceforge.net/) Then i’m trying to use generated key to encrypt and decrypt message with JSEncrypt library (https://github.…
(“SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO)”)
I tried deploying my project to an AWS EC2 server but when I tried to run php artisan migrate I am getting the following error. PDOException::(“SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO)”) PDO::__construct(“mysql:host=127.0.0…
How to echo php string with special characters inside javascript function parameter
I have a button on my website that triggers an onclick event with the following function onclick=” updatePage(”,”,'<?php echo $…