I created a php script to find the minimum and maximum values, but only 1 array data was detected, I want 5 maximal data and 5 minimum data, how it’s work? <?php …
Tag: web
type ‘_InternalLinkedHashMap’ is not a subtype of type ‘FutureOr<List>’
I have a Problem with my json.decode. I want to get some data from my website but when my website says {“Number”:5} i only get this error (type ‘_InternalLinkedHashMap<String, dynamic>’ is not a subtype of type ‘FutureOr<List>’). However if my website says string{“Number”:5} i get the correct output and this error FormatException: Unexpected character (at character 1). Here is my
How to create a Jetstream Project via Composer in laravel 8? [closed]
I just upgraded to laravel 8, and want to use jetstream package but i am having issues installing it. Can someone tell complete procedure of how to install Laravel 8 jetstream project via composer and …
upload image by refreshing page of web site
i write php code that upload image from client to host and site and my problem is if i refresh the page ,the last file going to upload again and its going dupplicate and if refresh again this problem …
Cookie is not recognised in PHP
I get Notice: Undefined index: i during the first reload of page with cookies if( (isset($_COOKIE[“i”])) && !empty($_COOKIE[“i”]) ){ setcookie(“i”,$_COOKIE[“i”]+1); } else{ …
How do I make an ajax call perform a function only once
Basically, I am implementing a food status tracking for an order based on orderNo. I refresh the page every 60 seconds, to append the new status in my div. However, for the start as the order is …
Option is not showing results from Php My Admin
I am trying to display product categories from my database, but the option are just blank, The database is connected as I get no error messages at all, so I was just wondering if anyone could give me …
How to make a delete request with Laravel
I am not using resource controller. The route: The controller function: The call: The program returns a MethodNotAllowedHttpException. Thank you. Answer You may try this (Notice the hidden _method input): Check Form Method Spoofing. Update: In the latest versions of Laravel, it’s possible to use blade directives for csrf and method in the form, for example:
crawl and copy another sites content
I want to crawl and copy another site content (just text) and find specific content download links between specific tags . how can I do this? i am using Cpanel and Php Answer I am not sure about your question, but I think you want to do scrapping. Using PHP, you can use cURL for instance. That will load an
Website Scraping from DoMDocument using php
I have a php code that could extract the categories and display them. However, I still can’t extract the numbers that goes along with it too(without the bracket). Need to be separated between the categories and number(not extract together). Maybe do another for loop using Regex, etc… This is the code: Is there any way I could do that? Thanks!