Find Jobs
Hire Freelancers

Need toast notifications from database to be displayed with ajax

$10-30 USD

Stengt
Lagt ut over 5 år siden

$10-30 USD

Betalt ved levering
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
Prosjekt-ID: 17994057

Om prosjektet

13 forslag
Eksternt prosjekt
Aktiv 5 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
13 frilansere byr i gjennomsnitt $28 USD for denne jobben
Brukeravatar
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 om 1 dag
5,0 (167 omtaler)
6,4
6,4
Brukeravatar
Hello I want to do it for you sir. looking forward. Thanks
$25 USD om 1 dag
4,5 (159 omtaler)
6,4
6,4
Brukeravatar
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 om 0 dag
4,8 (145 omtaler)
6,1
6,1
Brukeravatar
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 om 2 dager
5,0 (2 omtaler)
3,9
3,9
Brukeravatar
hi ican provide u a very awesome eye catching toast notification please consider me i can show u a demo today
$25 USD om 1 dag
4,5 (7 omtaler)
3,1
3,1
Brukeravatar
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 om 1 dag
4,9 (2 omtaler)
1,6
1,6
Brukeravatar
Hello, Am well experienced in php and mysql, It need some query modification, i will solve this issue within an hour.
$30 USD om 1 dag
5,0 (1 omtale)
1,4
1,4
Brukeravatar
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 om 10 dager
1,4 (2 omtaler)
1,6
1,6

Om klienten

UNITED STATESs flagg
Huntsville, United States
5,0
15
Betalingsmetode bekreftet
Medlem siden mar. 3, 2018

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.