Any one know this error file submitted successfully but error throw?

|
Laksida 2022-07-29 04:49:23
i have fixed i resfrshed the seed of it
Laksida 2022-07-29 04:49:48
laravel_discuss-131098.jpg

Rifdhy Ahmed 2022-07-29 04:50:48
Make an Arduino-Controlled Robot
https://bit.ly/3bhMkPv

Make an Arduino-Controlled Robot – Mr Techies Make an Arduino-Controlled Robot ArduinoMr Techies
Building robots that sense and interact with their environment used to be tricky. Now, Arduino makes it easy. With this book and an Arduino microcontroller and software creation environment, you’ll learn how to build and program a robot that can roam around, sense its environment, and perform a wide variety of tasks. All you to […] More
🧣🧣🧣 🌾🌾🌾 2022-07-29 04:51:29
Laksida 2022-07-29 04:49:23
i have fixed i resfrshed the seed of it

Ohk great

Laksida 2022-07-29 04:51:48
🧣🧣🧣 🌾🌾🌾 2022-07-29 04:51:29
Ohk great

yeah iam beginner

🧣🧣🧣 🌾🌾🌾 2022-07-29 04:52:58
Laksida 2022-07-29 04:51:48
yeah iam beginner

We are all learn ☺️. Not a beginner but not a big shot also πŸ˜…

🧣🧣🧣 🌾🌾🌾 2022-07-29 04:53:09
🧣🧣🧣 🌾🌾🌾 2022-07-29 04:52:58
We are all learn ☺️. Not a beginner but not a big shot also πŸ˜…

Learning*

Laksida 2022-07-29 04:53:21
🧣🧣🧣 🌾🌾🌾 2022-07-29 04:52:58
We are all learn ☺️. Not a beginner but not a big shot also πŸ˜…

yeah brother

πŸ€™ 2022-07-29 06:03:01
Morning I need help with datatables in laravel
Dhruv Trivedi 2022-07-29 10:05:20
laravel_discuss-131115.jpg

Dhruv Trivedi 2022-07-29 10:05:39
I want these theme in my project how do?
Bright 2022-07-29 10:52:23
πŸ€™ 2022-07-29 06:03:01
Morning I need help with datatables in laravel

What help please

umar_rao8 2022-07-29 11:07:46
php
FaKe_Sahandi81 2022-07-29 11:10:08
umar_rao8 2022-07-29 11:07:46
php

Come on

Siva 2022-07-29 11:26:12
laravel_discuss-131125.jpg
Any one know this error file submitted successfully but error throw? Notice 9 code below
Siva 2022-07-29 11:26:22
<?php
echo “<pre>”;
print_r($_POST);
print_r($_FILES);
echo “</pre>”;
?>
<?php

$msg=$_GET[‘msg’];
if($msg==”suc”){
echo “Uploaded successfully”;
}
if($msg==’err’){
echo “file not uploaded, Error on upload”;
}

if(isset($_POST[“submit”])){
$target_folder=”upload1/”;
$target_path=$target_folder.basename($_FILES[‘imageupload’][‘name’]);
$imageFileType=strtolower(pathinfo($target_path,PATHINFO_EXTENSION));
$target_path_1=$target_folder.”Profile_”.time().”.”.$imageFileType;
if(move_uploaded_file($_FILES[‘imageupload’][‘tmp_name’],$target_path_1)){
header(‘loction:second.php?msg=suc’);
//echo “Uploaded Successfully”;
}
else{
header(‘location:second.php?msg=err’);
//echo “file not uploaded Error on upload”;
}
}
?>

<form action=”file.php” method=”post” enctype=”multipart/form-data”>
Select File:
<input type=”file” name=”imageupload”/>
<input type=”submit” value=”Upload_Image” name=”submit”/>

DarshanSaroya 2022-07-29 11:28:31
Siva 2022-07-29 11:26:22
<?php
echo “<pre>”;
print_r($_POST);
print_r($_FILES);
echo “</pre>”;
?>
<?php

$msg=$_GET[‘msg’];
if($msg==”suc”){
echo “Uploaded successfully”;
}
if($msg==’err’){
echo “file not uploaded, Error on upload”;
}

if(isset($_POST[“submit”])){
$target_folder=”upload1/”;
$target_path=$target_folder.basename($_FILES[‘imageupload’][‘name’]);
$imageFileType=strtolower(pathinfo($target_path,PATHINFO_EXTENSION));
$target_path_1=$target_folder.”Profile_”.time().”.”.$imageFileType;
if(move_uploaded_file($_FILES[‘imageupload’][‘tmp_name’],$target_path_1)){
header(‘loction:second.php?msg=suc’);
//echo “Uploaded Successfully”;
}
else{
header(‘location:second.php?msg=err’);
//echo “file not uploaded Error on upload”;
}
}
?>

<form action=”file.php” method=”post” enctype=”multipart/form-data”>
Select File:
<input type=”file” name=”imageupload”/>
<input type=”submit” value=”Upload_Image” name=”submit”/>

Are you using ?msg=something in url?
As it not have any get parameter it give error.

DarshanSaroya 2022-07-29 11:29:21
Check if $_get msg is isser and not blank
Web Developer 2022-07-29 11:53:47
Siva 2022-07-29 11:26:22
<?php
echo “<pre>”;
print_r($_POST);
print_r($_FILES);
echo “</pre>”;
?>
<?php

$msg=$_GET[‘msg’];
if($msg==”suc”){
echo “Uploaded successfully”;
}
if($msg==’err’){
echo “file not uploaded, Error on upload”;
}

if(isset($_POST[“submit”])){
$target_folder=”upload1/”;
$target_path=$target_folder.basename($_FILES[‘imageupload’][‘name’]);
$imageFileType=strtolower(pathinfo($target_path,PATHINFO_EXTENSION));
$target_path_1=$target_folder.”Profile_”.time().”.”.$imageFileType;
if(move_uploaded_file($_FILES[‘imageupload’][‘tmp_name’],$target_path_1)){
header(‘loction:second.php?msg=suc’);
//echo “Uploaded Successfully”;
}
else{
header(‘location:second.php?msg=err’);
//echo “file not uploaded Error on upload”;
}
}
?>

<form action=”file.php” method=”post” enctype=”multipart/form-data”>
Select File:
<input type=”file” name=”imageupload”/>
<input type=”submit” value=”Upload_Image” name=”submit”/>

Check get condition like toubhave check with post

Godwin Akpah 2022-07-29 11:53:57
laravel_discuss-131133.jpg

Web Developer 2022-07-29 11:53:57
You have*
Web Developer 2022-07-29 11:54:14
Else it will thorw errors
Godwin Akpah 2022-07-29 11:54:30
How
DarshanSaroya 2022-07-29 11:54:48
Godwin Akpah 2022-07-29 11:53:57

Gold chain developer found 😁😁😁

Dhruv Trivedi 2022-07-29 11:57:21
laravel_discuss-131137.jpg

etekumoses 2022-07-29 11:57:55
Laradev 2022-07-29 00:02:28
No that’s fine

$query_param = [];
$search = $request[‘search’];
$date = $request[‘date’];

Appointment::where([‘checked’ => 0])->update([‘checked’ => 1]);

if ($status != ‘all’) {
$query = Appointment::with([‘user’])->where([‘Appointment_status’ => $status]);
} else {
$query = Appointment::with([‘user’]);
}

if ($request->has(‘search’)) {
$key = explode(‘ ‘, $request[‘search’]);
$query = $query->where(function ($q) use ($key) {
foreach ($key as $value) {
$q->orWhere(‘id’, ‘like’, “%{$value}%”)
->orWhere(‘appointment_status’, ‘like’, “%{$value}%”)
->orWhereHas(‘user’, function ($qy) use ($k) {
foreach ($k as $val) {
$qy->where(‘f_name’, ‘like’, ‘%’.$val.’%’);
}
});
}
});
$query_param = [‘search’ => $request[‘search’]];
}

Godwin Akpah 2022-07-29 11:58:05
Yeah mate for sale
etekumoses 2022-07-29 11:58:25
i rewrote it to this but its still givng me error that unknow variable “k”
seniormonsieur 2022-07-29 11:58:40
Dhruv Trivedi 2022-07-29 11:57:21

send code

etekumoses 2022-07-29 11:58:45
anyone help me i am trying to search multiple tables
seniormonsieur 2022-07-29 11:58:58
etekumoses 2022-07-29 11:58:45
anyone help me i am trying to search multiple tables

whats the issue

etekumoses 2022-07-29 11:59:09
etekumoses 2022-07-29 11:57:55
$query_param = [];
$search = $request[‘search’];
$date = $request[‘date’];

Appointment::where([‘checked’ => 0])->update([‘checked’ => 1]);

if ($status != ‘all’) {
$query = Appointment::with([‘user’])->where([‘Appointment_status’ => $status]);
} else {
$query = Appointment::with([‘user’]);
}

if ($request->has(‘search’)) {
$key = explode(‘ ‘, $request[‘search’]);
$query = $query->where(function ($q) use ($key) {
foreach ($key as $value) {
$q->orWhere(‘id’, ‘like’, “%{$value}%”)
->orWhere(‘appointment_status’, ‘like’, “%{$value}%”)
->orWhereHas(‘user’, function ($qy) use ($k) {
foreach ($k as $val) {
$qy->where(‘f_name’, ‘like’, ‘%’.$val.’%’);
}
});
}
});
$query_param = [‘search’ => $request[‘search’]];
}

here it is

Dhruv Trivedi 2022-07-29 11:59:15
laravel_discuss-131145.jpg

seniormonsieur 2022-07-29 11:59:44
etekumoses 2022-07-29 11:59:09
here it is

what’s the error

Godwin Akpah 2022-07-29 12:00:30
Fixed price for the shit
seniormonsieur 2022-07-29 12:00:53
Dhruv Trivedi 2022-07-29 11:59:15

check the files in the section if there is any value asking for variable name

seniormonsieur 2022-07-29 12:01:32
us as instead of use
Godwin Akpah 2022-07-29 12:01:34
Error $700
etekumoses 2022-07-29 12:02:04
seniormonsieur 2022-07-29 12:01:32
us as instead of use

error

seniormonsieur 2022-07-29 12:02:12
etekumoses 2022-07-29 12:02:04
error

pic

etekumoses 2022-07-29 12:02:35
syntax error
etekumoses 2022-07-29 12:02:46
just shows red icon
Dhruv Trivedi 2022-07-29 12:03:07
laravel_discuss-131157.jpg

seniormonsieur 2022-07-29 12:03:13
etekumoses 2022-07-29 12:02:35
syntax error

comment that line and try the code

etekumoses 2022-07-29 12:03:27
seniormonsieur 2022-07-29 12:03:13
comment that line and try the code

which code

seniormonsieur 2022-07-29 12:03:46
etekumoses 2022-07-29 12:03:27
which code

the one having variable k

seniormonsieur 2022-07-29 12:04:25
Dhruv Trivedi 2022-07-29 12:03:07

send pic of navbar.blade.php

etekumoses 2022-07-29 12:04:32
i can understand you well
etekumoses 2022-07-29 12:04:52
if i comment it out then the whole loop gets messed up
etekumoses 2022-07-29 12:05:19
->orWhereHas(‘user’, function ($qy) use ($k) {
foreach ($k as $val) {
$qy->where(‘f_name’, ‘like’, ‘%’.$val.’%’);
}
});
|