My Visual Studio Code shows "undefined method". I want to know is it possible to "fix" it with some VSC settings or maybe there is a PHP solution. I have this
I am trying (with no success) to get all possible matches with preg_match_all(). Any help would be greatly apreciated. Thank you in advance. No related question
I'm trying to run my php-based application, which connects to a mysql DB, launched through docker-compose. i get this message when i connect to localhost: Fatal
I have this bit of PHP code below. try { echo "Try for getting data"; $starttime = ("1900-01-01"); $endtime = $currDate; $day1 = strtotime($
I am trying to create a report so I can import products in bulk. The issue i am facing right now is that whatever I have done always got Invalid input error. It
I need to get the value of the given variable name without quotes(''). Is it possible with php? variableName='value' I think using preg_match
To open, I do not know PHP. I have cobbled this snippet together from the information in these two links -> Show and Hide div based on day
pls help I tried the maximum ways but no result, I'm beginner in laravel!!! liste.blade.php <td> {{$data->candidature->dem
So i have an a array of numbers: $arr = [53, 182, 435, 591, 637]; All i am trying to do is loop trough each element and when a certain condition is true it sho
I have a script that uploads the video to a server, everything is correct but there is a problem, after the upload of the video to the server is completed it sh
We've recently started using Snyk to perform code analysis, however have hit the stumbling block that the first scan is reporting many (>700) XSS vulnerabili
I need a little bit of help. I have an XML file as a database. From it, I need to create a pagination with 25 elements per page with Next and Previous buttons,
i am using this code to upload files(images to a folder) <form action='' method='POST' enctype='multipart/form-data'> <input type='file' name='userFil
I m looking for advices in report generating per client, per product, per salesman, in a given period, using mysql and php. I m currently working on an applicat
I have coded my own validation form. Is there anyway i can prevent page from submit to php (action="process.php" Method="POST") if form is not validated. I have
Videos come from a folder and are automatically displayed on my website. But I am having a problem at implementing share feature. All I want to do is when share
in PHP, how can i convert UTF-8 to MUTF-8? i am hoping i can lazily just get away with function utf8_to_mutf8(string $utf8):string{ return str_replace("\x00
I am struggling here. I have looked up many previous answers on this subject and nothing is working. I have the following string and can't figure out how to get
I have following code for hiding php extension and redirecting user to a non .php url if user adds a .php extension in url for example domain.com/about.php shou
I am using SetaPDF Merger and I am almost finished with my project to set it up for my WordPress site. But of course I run into trubble. I have a repeatable fie