//=============== PDF File Upload===================== if (isset($_FILES["pdfile"])) { $filename = $_FILES['pdfile']['name']; $dir = "../pdfs/st
I am using this statement to fetch the elements in a column in my db $result = $stmt->fetchAll(PDO::FETCH_COLUMN, 0); but I get this error when trying to
How can I create a new page when I enter a new product in my database, or hide the parameter inside a normal /.../ ? In this example I will sell Sandles with th
I have a Google Sheets file shared with 1 user - owner (Gmail account) and 2nd user - writer (google service account like @iam.gserviceaccount.com). I use this
In Excel, column names are characters from A to Z, if there are more columns needed, it continues with AA, AB ... I want to write a function, that converts inte
I would like to write a js for an offline website (located on a local Windows server or any other server). It's supposed to look for files like PDFs in several
protected function _saveAppliedTaxes( Address $address, $applied, $amount, $baseAmount, $rate ) { $previousl
<?php use HeadlessChromium\BrowserFactory; $browserFactory = new BrowserFactory(); ?> I've installed chrome-php/chrome with composer and hovering my mo
I am still at learning phase in WordPress. I cannot figure out in ACF which field type should I choose to upload a video file and which code should I write to s
In my local/development environment, the MySQLi query is performing OK. However, when I upload it on my web host environment, I get this error: Fatal error: Ca
I just started to learn websockets with "Workerman" library on my nginx server, and i ran into a problem. I tried some examples, so I think I almost made it. I
I moved all my controllers to /src/Web/Controller in my Symfony 6 project like follows ├── src │ ├── ... │ &
I have this php code to encrypt and decrypt with RSA, I use only the encrypt data, because I need to decrypt the data with Node.js <?php include 'vendor/auto
I am creating a HTML web page which contains a sticky navbar with drop down menu. However, when I created one, the dropdown menu does not works in the sticky na
i need to delete a database table using laravel artisan command . not like this command php artisan migrate:rollback --step=5 i need to create like this route o
I have been running xampp from D drive well. Recently I have changed my hard disk to ssd. After then I can not run the xampp. I have checked the port that is wr
So, I have 2 arrays that I've combined into one array after making sure they're the same length as such. //Fetching Ratings for All Coaches & Making a Key,
I try using Elementor for creating a WordPress website but I have this page when I open Elementor on the website. I am using DigitalOcean droplets with Cloudfl
I have a big array like this: "twitter_link" => "http://twitter.com" "twitter_text" => "text" "youtube_link" => "" "youtube_text" => "" "snapchat_li
//Sending Email add_action( 'transition_post_status', 'notify_author_on_publish', 10, 3 ); function notify_author_on_publish( $new_status, $old_status, $post )