Find Jobs
Hire Freelancers

Need toast notifications from database to be displayed with ajax

$10-30 USD

Imefungwa
Imechapishwa over 5 years ago

$10-30 USD

Kulipwa wakati wa kufikishwa
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
Kitambulisho cha mradi: 17994057

Kuhusu mradi

13 mapendekezo
Mradi wa mbali
Inatumika 5 yrs ago

Unatafuta kupata pesa?

Faida za kutoa zabuni kwenye Freelancer

Weka bajeti yako na muda uliopangwa
Pata malipo kwa kazi yako
Eleza pendekezo lako
Ni bure kujiandikisha na kutoa zabuni kwa kazi
13 wafanyakazi huru wana zabuni kwa wastani $28 USD kwa kazi hii
Picha ya Mtumiaji
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 ndani ya siku 1
5.0 (167 hakiki)
6.4
6.4
Picha ya Mtumiaji
Hello I want to do it for you sir. looking forward. Thanks
$25 USD ndani ya siku 1
4.5 (159 hakiki)
6.4
6.4
Picha ya Mtumiaji
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 ndani ya siku 0
4.8 (145 hakiki)
6.1
6.1
Picha ya Mtumiaji
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 ndani ya siku 2
5.0 (2 hakiki)
3.9
3.9
Picha ya Mtumiaji
hi ican provide u a very awesome eye catching toast notification please consider me i can show u a demo today
$25 USD ndani ya siku 1
4.5 (7 hakiki)
3.1
3.1
Picha ya Mtumiaji
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 area of the page automatically refreshed every 30 seconds. 3) The refresh of the area would be AJAX based and would grab the notifications from the DB, pop them up on the notifications area and delete from db. 4) In this way, usually it will be just one new notification outstanding to be displayed. However, if there are somehow more than one that arrive almost simultaneously, we would show all of them in the descending order of notification time i.e. latest on top. 5) I am confident that I will easily do it within one day.
$35 USD ndani ya siku 1
4.9 (2 hakiki)
1.6
1.6
Picha ya Mtumiaji
Hello, Am well experienced in php and mysql, It need some query modification, i will solve this issue within an hour.
$30 USD ndani ya siku 1
5.0 (1 hakiki)
1.4
1.4
Picha ya Mtumiaji
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 ndani ya siku 10
1.4 (2 hakiki)
1.6
1.6

Kuhusu mteja

Bedera ya UNITED STATES
Huntsville, United States
5.0
15
Njia ya malipo imethibitishwa
Mwanachama tangu Mac 3, 2018

Uthibitishaji wa Mteja

Asante! Tumekutumia kiungo cha kudai mkopo wako bila malipo kwa barua pepe.
Hitilafu fulani imetokea wakati wa kutuma barua pepe yako. Tafadhali jaribu tena.
Watumiaji Waliosajiliwa Jumla ya Kazi Zilizochapishwa
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Onyesho la kukagua linapakia
Ruhusa imetolewa kwa Uwekaji wa Kijiografia.
Muda wako wa kuingia umeisha na umetoka nje. Tafadhali ingia tena.