I'm building a system in Unity that takes a register and login menu connected to a MySQL database through PHPMyAdmin, has users log in, then allows them to choo
I encountered an issue that blocks my way forward. I have tried getting count of polls as of now as shown below: public function user_dashboard(){ $ac
For a PHP project, I am trying to delete a user and all of his actions / info from my database. It is working for every table (posted likes, comments, projects,
Can somebody have me trans this PHP API code to Python. I try but it failed. I know about basic requests in python but couldn't pass attributes in that request,
I'm working with Laravel 5.8 and I wanted to upload a video file. So in the Controller, I added this code which does the uploading: if ($request->file('prd_v
So I have this PHP page, with at the start some unimportant stuff and a session opening : <?php session_start(); ?> I want the disconnect button to a
I would like to create a file upload system on my page, I found a code resource from the internet: https://gist.github.com/shamimmoeen/bd577b3
I'm trying to work out how I can remove all timestamps which have a certain reservation id after them. Currently I can unset only based on timestamp and not che
I'm trying to echo a piece of text with PHP nested in it, anyone know how? I've tried it like this: function update_category(){ global $connection; if
I'm new to WordPress. I'm trying to complete the FreeCodeCamp tutorial now. The tutorial explains how to install a new them. Whenever I click Install to insta
my pdo last insert id returns 0 here is the code $bdd->beginTransaction(); $requete = $bdd->prepare('INSERT INTO reservation (code_salle,date_res,code_c
I am preparing a reminder application. I have a reminder table in this application. On the other hand, I want to send special e-mails to all people in this tabl
I wanted to try to create a simple chatbot web-app using Laravel Botman. I've created a new Laravel project but when I try to install Botman through the termina
I am trying to change the below libsoium predefined constant SODIUM_CRYPTO_AEAD_AES256GCM_NPUBBYTES from 12 to 20 and I am unable to find where this is being se
I wrote a function in PHP which writes the elements of a two-dimensional array into a CSV file. function downloadCSV($data) { header('Content-Type: text/csv
I have a GET route with a wildcard day. This day wildcard is a string like so: 20220507 (YYYYMMDD). After validation the string I wish to make a proper response
I have a problem with id i get error Attempt to read property "id" on null (View: /resources/views/admin/Attendance/description.blade.php) view code that show
I have been trying to implement the Agora cloud recording functionality for a few days with some difficulty. The API documentation is difficult to work with, an
How to extract id from this response. I tried like this But return blank page. Below is the response what I'm getting. <?php $res = json_decode($sentMessage
I am inserting some data in Timestream but I cant figure out how to have a unqiue ID. $date = new DateTime(); $time = strval($date->getTimestamp() * 1000);