Any experience Developer here?

|
Iam_1998 2022-09-05 18:53:23
Anuj 2022-09-05 18:45:36
How i send mail to user when user subscriptions about to end

Create a scheduled function that calculate the remaining days, and when it is equal to specific condition, the event fair, and the system sends an email.

h_a_r_s_a_l 2022-09-05 19:13:30
?????
Fatema Saifee 2022-09-05 19:34:14
Need 3+ laravel developer
Interested candidates DM in personal
WFH opportunity
hi_nihal 2022-09-05 19:53:18
Fatema Saifee 2022-09-05 19:34:14
Need 3+ laravel developer
Interested candidates DM in personal
WFH opportunity

Ping me

NNMM12344 2022-09-05 20:05:42
who knows mailgun API for newsletter
purplex227 2022-09-05 20:30:02
Yes I have implemented it on a chat system and basic notification as an API to be consumed in a flutter mobile app
Tarun Chand 2022-09-05 20:41:43
* Urgent Requirement *
* Work From Home *

Job :- Laravel developers
Experience :- 3 to 4 Years
Salary :- 30k

( Indian candidates only )

Note :- Without interview

Denno_IT 2022-09-05 21:40:18
Hello esteemed developers.. i am posting a question here where i need a help in coming up with the logic on how to tackle such a situuation. i need to have a view where i am collecting items from the db and putting them in a drop down menu,.. once the user have picked one item or an item is picked.. i want it to be removed from this that drop down…like once something is selected someone cant do it twice.. leave away products.. for instance am hiring a vehicle indentified by number plate.. i need to be able to remove the vehicle from the list once the vehicle have been booked.. how can i achieve this?? am somehow stuck on the idea
DesolatorMagno 2022-09-05 21:50:05
Using JS, you can use a Library for Select.
purplex227 2022-09-05 21:54:09
Denno_IT 2022-09-05 21:40:18
Hello esteemed developers.. i am posting a question here where i need a help in coming up with the logic on how to tackle such a situuation. i need to have a view where i am collecting items from the db and putting them in a drop down menu,.. once the user have picked one item or an item is picked.. i want it to be removed from this that drop down…like once something is selected someone cant do it twice.. leave away products.. for instance am hiring a vehicle indentified by number plate.. i need to be able to remove the vehicle from the list once the vehicle have been booked.. how can i achieve this?? am somehow stuck on the idea

JavaScript library will do just fine for this bro.

Denno_IT 2022-09-05 22:00:17
DesolatorMagno 2022-09-05 21:50:05
Using JS, you can use a Library for Select.

how please example??

DesolatorMagno 2022-09-05 22:00:57
https://select2.org/getting-started/basic-usage

Basic usage | Select2 – The jQuery replacement for select boxesselect2.org
Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and pagination (infinite scrolling) of results.
Denno_IT 2022-09-05 22:15:22
DesolatorMagno 2022-09-05 22:00:57
https://select2.org/getting-started/basic-usage

i am asking this sir..for instance i booked it should not be there when another user want to book it… imagine a situation of a library managenent system… once a book is issued to one person.. i think this book should be un available from other people but visible in the booked section

Denno_IT 2022-09-05 22:15:50
the same way am trying to mean,.. once something is selected.. another person cant select it unless returned
DesolatorMagno 2022-09-05 22:16:49
You could worded it better. You can either just show what is available (should be the normal) or disable those that are selected. How yoy know if a book is taken? that’s for you to do.
Denno_IT 2022-09-05 22:18:49
DesolatorMagno 2022-09-05 22:16:49
You could worded it better. You can either just show what is available (should be the normal) or disable those that are selected. How yoy know if a book is taken? that’s for you to do.

okay.. am imagining it this way.. i go to the library and search for the available books.. when a book was leased to someone else ofcourse i should not see it in the available books and once the guy returns the book i should be able to see it in the available books

DesolatorMagno 2022-09-05 22:19:10
Denno_IT 2022-09-05 22:18:49
okay.. am imagining it this way.. i go to the library and search for the available books.. when a book was leased to someone else ofcourse i should not see it in the available books and once the guy returns the book i should be able to see it in the available books

Exactly.

DesolatorMagno 2022-09-05 22:19:51
But both option are valid, all depend in the situation.
Denno_IT 2022-09-05 22:20:29
the same thing am trying to mean here… if i go to booked or leased book there are these books which should be there.. and if i search in the available books the leased book should not come up when am even picking the book to lease… but bear in mind all these books are books in the same model and migration but the views are different which is changed the “lease” action
Denno_IT 2022-09-05 22:20:39
DesolatorMagno 2022-09-05 22:19:51
But both option are valid, all depend in the situation.

how now sir?

DesolatorMagno 2022-09-05 22:21:25
– Show everything but disable those that are not available.
– Only show what is available.
Denno_IT 2022-09-05 22:22:38
DesolatorMagno 2022-09-05 22:21:25
– Show everything but disable those that are not available.
– Only show what is available.

exactly… how now or which approach do i use it to show this one sir?

DesolatorMagno 2022-09-05 22:23:50
You should do something to mark when a book (or item) is being taken by another user, and change that ‘status’ when the user return it, and in the controller for show you just take into consideration that condition.
Denno_IT 2022-09-05 22:28:07
DesolatorMagno 2022-09-05 22:23:50
You should do something to mark when a book (or item) is being taken by another user, and change that ‘status’ when the user return it, and in the controller for show you just take into consideration that condition.

exactly.. i think this works now

Siva 2022-09-06 04:32:28
<?php

include(‘../includes/connect.php’);

?>

<?php

if(isset($_POST[‘insert_product’]))
{
$product_title=$_POST[‘product_title’];
$product_description=$_POST[‘product_description’];
$product_keywords=$_POST[‘product_keywords’];
$category_id=$_POST[‘category_id’];
$brands_id=$_POST[‘brands_id’];
$product_price=$_POST[‘product_price’];

$status=’true’;

//accessing images
$product_image1=$_FILES[‘product_image1’][‘name’];
$product_image2=$_FILES[‘product_image2’][‘name’];
$product_image3=$_FILES[‘product_image3’][‘name’];

//accessing imge tmp name
$tmp_image1=$_FILES[‘product_image1’][‘tmp_name’];
$tmp_image2=$_FILES[‘product_image2’][‘tmp_name’];
$tmp_image3=$_FILES[‘product_image3’][‘tmp_name’];

//checking empty condition

if($product_title==” or $product_description==” or $product_keywords==” or $category_id==” or
$brands_id==” or $product_price==” or $product_image1==” or $product_image2==” or $product_image3==”)
{
echo “<script>alert(‘Please fill all the available fileds’)</script>”;
}
else{

move_uploaded_file($tmp_image1,”./product_images/$product_image1″);
move_uploaded_file($tmp_image2,”./product_images/$product_image2″);
move_uploaded_file($tmp_image3,”./product_images/$product_image3″);

//insert query

$insert_product=”insert into products (product_title,product_description,product_keywords,
category_id,brands_id,product_image1,product_image2,product_image3,product_price,date,status)
values (‘$product_title’,’$product_description’,’$product_keywords’,’$category_id’,’$brands_id’,
‘$product_image1′,’$product_image2′,’$product_image3′,’$product_price’,NOW(),’$status’)”;

$result_query=mysqli_query($con,$insert_product);

if($result_query)
{
echo “<script>alert(‘Successfully inserted the products’)</script>”;
}
else{
echo “error”;
}

}

}

?>

<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<meta http-equiv=”X-UA-Compatible” content=”IE=edge”>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<title>Insert_Product</title>
<link href=”https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css” rel=”stylesheet” integrity=”sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx” crossorigin=”anonymous”>
<link href=”https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css” rel=”stylesheet”>
<link rel=”stylesheet” href=”https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css” integrity=”sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==” crossorigin=”anonymous” referrerpolicy=”no-referrer” />
<link rel=”stylesheet” href=”style.css”>
</head>
<body>

<body class=”bg-light”>
<div class=”container mt-3″>
<h1 class=”text-center”>Insert Products</h1>

<form action=”” method=”post” enctype=”multipart/form-data”>

<!– title –>
<div class=”form-outline mb-4 w-50 m-auto”>
<label for=”product_title” class=”form-label”>Product title</label>

<input type=”text” name=”product_title” id=”product_title” class=”form-control”
placeholder=”Enter product title” autocomplete=”off” required=”required”>

</div>

<!– description –>

<div class=”form-outline mb-4 w-50 m-auto”>
<label for=”description” class=”form-label”>Product description</label>

<input type=”text” name=”product_description” id=”description” class=”form-control”
placeholder=”Enter product description” autocomplete=”off” required=”required”>

</div>

<!– keywords –>

<div class=”form-outline mb-4 w-50 m-auto”>
<label for=”product_keyword” class=”form-label”>Product keywords</label>

<input type=”text” name=”product_keywords” id=”product_keywords” class=”form-control”
placeholder=”Enter product keywords” autocomplete=”off” required=”required”>

</div>

<!– categories –>

niyachhim 2022-09-06 05:20:19
laravel_discuss-137095.jpg
Hi guy I have problem with Jetstream style
veddishant 2022-09-06 05:30:44
Your assests not load css and js plz check network and give permission to storage folder
niyachhim 2022-09-06 05:37:08
laravel_discuss-137098.jpg

VasuKush 2022-09-06 07:04:33
Hi anyone have time to give me some guidance
VasuKush 2022-09-06 07:13:09
laravel_discuss-137102.jpg

VasuKush 2022-09-06 07:13:09
laravel_discuss-137101.jpg

VasuKush 2022-09-06 07:13:53
Same query ka output dono jagah alag aaraha hai
Php 2022-09-06 07:20:13
Any experience Developer here ?
Web Developer 2022-09-06 07:21:44
What’s your issue??
VasuKush 2022-09-06 07:25:23
laravel_discuss-137106.jpg

|