已关闭

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..

$30USD 在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 更多

$30USD 在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

$25USD 在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 更多

$25USD 在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 更多

$20USD 在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

$25USD 在1天里
(7条评论)
3.1
$30USD 在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.

$20USD 在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.

$30USD 在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 更多

$35USD 在1天里
(1条评论)
1.0
quirogaalejo

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

$35USD 在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

$25USD 在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. 更多

$10USD 在1天里
(0条评论)
0.0