Ditutup

Need toast notifications from database to be displayed with ajax

I have a database with the columns setup like id,user_id,code

In the code column the [login to view URL] notification code is stored which is base64 encoded

When you display the code you must decode the base64 and it will display the toast notifications

I had my code setup like

<?php

// toast notifications

$sql_not = "SELECT code FROM notifications WHERE user_id = '$id'";

$sql_not_result = $conn->query($sql_not);

$num = $sql_not_result->num_rows;

for ($i=0;$i<$num;$i++) {

$notifications = mysqli_fetch_row($sql_not_result);

echo base64_decode($notifications[$i]);

$delete = "DELETE FROM notifications WHERE code = '$notifications[$i]' AND user_id ='$id'";

$conn->query($delete);

}

?>

The problem with my code is when there is multiple notifications it will only show one by one and also you have to reload the page to see the notifications. I want it so you do not have to reload the page and it will show all the notifications. Also after it has shown the notifications for the notifications for that user_id to be deleted.

Thank you

I need this done as quick as possible.

Kemahiran: AJAX, Javascript, MySQL, PHP, SQL

Lihat lagi: need develop membership database web, database driven ajax image rotator, aspnet database process ajax, javascript notification popup, bootstrap notification popup, css alert animation, jquery notification popup, pop up notification php, notification in php demo, how to create notification in php like facebook, javascript notification bar, search database using ajax, need complete project database management system hospital, ajax oscommerce multiple images, ajax upload multiple pictures, need build online database, need hotel booking database samplesa, translate thank multiple languages, ajax treeview multiple context menu, php database results ajax drag sort

Tentang Majikan:
( 9 ulasan ) Huntsville, United States

ID Projek: #17994057

18 pekerja bebas membida secara purata $30 untuk pekerjaan ini

wsafreelancer

Hi I am interested to Toast notifications from database to be display with ajax, I am expert in PHP Jquey AJAX, I can change the logic don't worry, I can start the project immediately and done. Thanks..

$30 USD dalam sehari
(107 Ulasan)
6.0
isyncevolution

[login to view URL] 12 Yrs. Exp. in Web Software Development , Design & SEO. I am expert in PHP , MVC frame work , CMS system and Open Source I a Lagi

$30 USD dalam sehari
(35 Ulasan)
5.7
caciocode

Hi, I am a JavaScript and PHP developer. I can setup the notifications to be displayed with ajax. I am ready to get started.

$25 USD dalam 0 hari
(110 Ulasan)
5.9
jonyahmed105

Hello I want to do it for you sir. looking forward. Thanks

$25 USD dalam sehari
(110 Ulasan)
6.1
xuan327

Hi,I hope to see you on chatting. Recent Website Work: [login to view URL] [login to view URL] [login to view URL] [login to view URL] I am an experienced web developer with full-stack kno Lagi

$25 USD dalam sehari
(15 Ulasan)
4.9
limillion819

Hi there. WE CAN COMPLETE this IN 2 HOURS! I am very interested in your project. I can instantly help you with your starting project with a successful completion. As a professional web developer, I ensure for a perf Lagi

$100 USD dalam 0 hari
(12 Ulasan)
4.2
navneetsoni

Hi, Thank you forgive me this opportunity. As per your requirement, I would tell you, I am 4 year's experience in the development field. I would also mention my working with 100% result. Please have a look a Lagi

$20 USD dalam sehari
(10 Ulasan)
3.6
ranzhie07

hi ican provide u a very awesome eye catching toast notification please consider me i can show u a demo today

$25 USD dalam sehari
(7 Ulasan)
3.1
$30 USD dalam sehari
(1 Ulasan)
3.0
EasternStar930

Hi Dear Client I am very interesting in your job. I have rich experiences in web development. And I can do your job welll. please chat with me.

$20 USD dalam sehari
(5 Ulasan)
1.7
ivaneapps

Hello, Am well experienced in php and mysql, It need some query modification, i will solve this issue within an hour.

$30 USD dalam sehari
(1 Ulasan)
1.4
fakhirsiddiqi

Extensively doing web development for the last 7 years. I guess what you need is the following. 1) Create a notifications area on the top part of your main page. 2) A JavaScript based interval will cause this are Lagi

$35 USD dalam sehari
(1 Ulasan)
1.0
quirogaalejo

Hello. You can see my profile trought [login to view URL] and some applications. I hope can help you

$35 USD dalam sehari
(0 Ulasan)
0.0
mugar

Am a JAVA Software Developer: Versatile in PHP, HTML5, SMS Gateway, mySQL, javaDB. I deliver web based applications, data driven websites and also standalone desktop apps. Hire me

$25 USD dalam sehari
(0 Ulasan)
0.0
hlealrugeles

hello im sure that i can fix your problem and im ready to do as quite as posible i hope that i can work with you if you need to talk with me send me a message

$20 USD dalam 10 hari
(1 Ulasan)
0.0
pradeep54

TechnoLions is an emerging growth Software company with three major divisions , Software Training Software Development and Web Development In Rewa [login to view URL] "Lions" is a word meaning King , Which implies that our ser Lagi

$25 USD dalam 3 hari
(0 Ulasan)
0.0
hadeelmikki

Hello, Jrichyy would you mind use AJAX to fix that for you? I can start immediately for you and fixed that in professional way. looking forward to hearing back from you .

$30 USD dalam 2 hari
(0 Ulasan)
0.0
majdbb1995

Hi, there. I am an experienced developer, and I have 3 years experiences in developing websites using PHP, HTML, CSS, javascript, JQuery, Ajax and several frameworks such as Laravel, Django, and Spring boot. Lagi

$10 USD dalam sehari
(0 Ulasan)
0.0