Закрыт

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.

Квалификация: AJAX, Javascript, MySQL, PHP, SQL

Показать больше 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

О работодателе:
( 9 отзыв(-а, -ов) ) Huntsville, United States

ID проекта: #17994057

18 фрилансеров(-а) в среднем готовы выполнить эту работу за $30

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 за 1 день
(107 отзывов(-а))
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 Больше

$30 USD за 1 день
(35 отзывов(-а))
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 за 0 дней(-я)
(110 отзывов(-а))
5.9
jonyahmed105

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

$25 USD за 1 день
(110 отзывов(-а))
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 Больше

$25 USD за 1 день
(15 отзывов(-а))
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 Больше

$100 USD за 0 дней(-я)
(12 отзывов(-а))
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 Больше

$20 USD за 1 день
(10 отзывов(-а))
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 за 1 день
(7 отзывов(-а))
3.1
$30 USD за 1 день
(1 отзыв)
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 за 1 день
(5 отзывов(-а))
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 за 1 день
(1 отзыв)
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 Больше

$35 USD за 1 день
(1 отзыв)
1.0
quirogaalejo

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

$35 USD за 1 день
(0 отзывов(-а))
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 за 1 день
(0 отзывов(-а))
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 за 10 дней(-я)
(1 отзыв)
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 Больше

$25 USD за 3 дней(-я)
(0 отзывов(-а))
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 за 2 дней(-я)
(0 отзывов(-а))
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. Больше

$10 USD за 1 день
(0 отзывов(-а))
0.0