Find Jobs
Hire Freelancers

MySQL/PHP Help

$2-7 USD

Terminado
Publicado hace casi 12 años

$2-7 USD

Pagado a la entrega
I have a form I'm working on, where you can vote yes or no for different fandoms. It uses a database. I copied and pasted the data dump for the database (the info is for testing purposes). Inside the zip I've attached you can find the php file with the form and a screencap of the page of the form. Basically, what I want, is for all "fandom"'s that have the same "member" name to show up on the form, which as it stands they will, however I want to ALSO be able to click one of the radio buttons (yes = 1 or no = 0) and then in the UPDATE query, I want it to change EACH data row where either the ID is the same OR where the fandom = fandom and the member = name are the same (I'd think doing it by ID would be easiest but I am not sure). As it stands, I can't get it to update ANY of the rows with the correct "score" (the 1 or 0 based on if yes or no is clicked), let alone for ALL fandoms (meaning, all fandoms on the form, not just like the FIRST fandom) DATA DUMP ======================== CREATE TABLE IF NOT EXISTS `spotlight2` ( `id` int(50) NOT NULL AUTO_INCREMENT, `fandom` varchar(500) NOT NULL, `member` varchar(500) NOT NULL, `score` varchar(5) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `spotlight2` -- INSERT INTO `spotlight2` (`id`, `fandom`, `member`, `score`) VALUES (1, 'Smallville', 'needtakehave', ''), (3, 'Lois & Clark', 'needtakehave', '');
ID del proyecto: 2768038

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 12 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
Adjudicado a:
Avatar del usuario
See private message.
$4 USD en 1 día
5,0 (82 comentarios)
5,6
5,6
2 freelancers están ofertando un promedio de $4 USD por este trabajo
Avatar del usuario
See private message.
$4 USD en 1 día
4,0 (2 comentarios)
1,4
1,4

Sobre este cliente

Bandera de UNITED STATES
Warminster, United States
5,0
50
Miembro desde oct 24, 2009

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.