I am using following code to take backup of my mysql database. With this code, a file is created and get saved in same folder where this script is kept. It is w
I used a debug and I get the following error: PHP Fatal error Uncaught TypeError: ceil(): Argument #1 ($num) must be of type int|float, string given in /var/www
This is the way how I set cookies in JavaScript: function setCookie(cname, cvalue) { expires = "expires=2147483647"; document.cookie = cname + "=" + c
I have a server that is still running PHP 7.4.x I, therefore, need to install laravel 8.x (the current version of laravel is 9.x) with laravel-sail. Since I don
I have a problem where I want to reload the page on submit. I did this with the simple script function shown below. However, the echo'd "hello" does not disappe
Can you please take a look at this code and let me know why I am not able to get a PHP generated captcha (image) by Ajax call in jQuery? What I have in captcha.
Looking for a library or algorithm that implements serialization of a message in protobuf format with schema version which retrieved from conf
How to paginate in react using inertia on laravel? pulling the paginated data: $contacts = Contact::orderBy('name', 'asc')->paginate(10); return Inertia::ren
Issue: Assets retrieving issue in Laravel 5.4 Server root directory -- public_html/ -- pilardir/ [Laravel Installed Here Project Controller, Models, Views Worki
I've been building a blog on Symfony and noticed something in my code. This is my query builder and when I set these two min and max parameters, in this order p
I want to build a login form : users access the welcome page using their passwords.
As the question states, how do I copy an ACF field from one post to another? This is what I have so far. Any help would be appreciated. add_action('save_post',
I have a product page with an image upload form built with Livewire. when i revisit the page to update information, the page will only submit if I also pass thr
I have a product page with an image upload form built with Livewire. when i revisit the page to update information, the page will only submit if I also pass thr
I found an issue when delete some data, so I isolated the code Route::get('v1/testapi', function (Request $request) { return [ DB::table('attendances')->
I found an issue when delete some data, so I isolated the code Route::get('v1/testapi', function (Request $request) { return [ DB::table('attendances')->
this is my candidatController.php the error is in the line before the last line($prev_canditure->etat="archifé";) $candidat_nw=Candidat::orderby('crea
this is my candidatController.php the error is in the line before the last line($prev_canditure->etat="archifé";) $candidat_nw=Candidat::orderby('crea
I am able to do this with IPv4 using code snippets from various online sources. I was wondering if there was a way to do it with IPv6. Basically I just need a f
I got an error by using Browsershot in Laravel 8 (Laravel Code) $content = view('welcome')->render(); return Browsershot::html($content) ->noSandbox(