Find Jobs
Hire Freelancers

Need toast notifications from database to be displayed with ajax

$10-30 USD

Cerrado
Publicado hace más de 5 años

$10-30 USD

Pagado a la entrega
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
ID del proyecto: 17994057

Información sobre el proyecto

13 propuestas
Proyecto remoto
Activo hace 5 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
13 freelancers están ofertando un promedio de $28 USD por este trabajo
Avatar del usuario
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 en 1 día
5,0 (167 comentarios)
6,4
6,4
Avatar del usuario
Hello I want to do it for you sir. looking forward. Thanks
$25 USD en 1 día
4,5 (159 comentarios)
6,4
6,4
Avatar del usuario
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 en 0 día
4,8 (145 comentarios)
6,1
6,1
Avatar del usuario
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 en 2 días
5,0 (2 comentarios)
3,9
3,9
Avatar del usuario
hi ican provide u a very awesome eye catching toast notification please consider me i can show u a demo today
$25 USD en 1 día
4,5 (7 comentarios)
3,1
3,1
Avatar del usuario
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 en 1 día
4,9 (2 comentarios)
1,6
1,6
Avatar del usuario
Hello, Am well experienced in php and mysql, It need some query modification, i will solve this issue within an hour.
$30 USD en 1 día
5,0 (1 comentario)
1,4
1,4
Avatar del usuario
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 en 10 días
1,4 (2 comentarios)
1,6
1,6

Sobre este cliente

Bandera de UNITED STATES
Huntsville, United States
5,0
15
Forma de pago verificada
Miembro desde mar 3, 2018

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.