Need toast notifications from database to be displayed with ajax
Bajet $10-30 USD
- Freelancer
- Kerja
- AJAX
- 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.
18 pekerja bebas membida secara purata $30 untuk pekerjaan ini
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..
[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
Hi, I am a JavaScript and PHP developer. I can setup the notifications to be displayed with ajax. I am ready to get started.
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
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
hi ican provide u a very awesome eye catching toast notification please consider me i can show u a demo today
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.
Hello, Am well experienced in php and mysql, It need some query modification, i will solve this issue within an hour.
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
Hello. You can see my profile trought [login to view URL] and some applications. I hope can help you
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
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
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 .
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