Find Jobs
Hire Freelancers

PHP Modification of a Script

$10-30 USD

Terminado
Publicado hace alrededor de 10 años

$10-30 USD

Pagado a la entrega
Shouldn't take longer than an hour for an experienced coder! <?php if(intval($_GET['part']) ==1) { echo $videodata['code1']; } elseif(intval($_GET['part']) ==2 and $videodata['code2']!='') { echo $videodata['code2']; } elseif(intval($_GET['part']) ==3 and $videodata['code3']!='') { echo $videodata['code3']; } elseif(intval($_GET['part']) ==4 and $videodata['code4']!='') { echo $videodata['code4']; } elseif(intval($_GET['part']) ==5 and $videodata['code5']!='') { echo $videodata['code5']; } else { echo $videodata['code1']; } ?> What I essentially need is that for each ['codeX]' it is echoed with an additional code, depending on an additional value which is also fetched using $videodata: echo $videodata['code1']; To be specific, I would like that the code first checks if: $videodata['videotype1'] = 'YouTube'. If 'videotype1' is indeed 'YouTube' then it should: echo $videodata."<iframe width="420" height="345" src="[login to view URL]".['code1']."></iframe>"; But if 'videotype1' is not 'YouTube', but instead it is Vimeo then it should: echo $videodata."<iframe src="[login to view URL] video/".['code1']."width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen> </iframe>"; This should also be the case for code2, code3, etc..! What is the best way to do it and can you do it?
ID del proyecto: 5857700

Información sobre el proyecto

7 propuestas
Proyecto remoto
Activo hace 10 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
A proposal has not yet been provided
$16 USD en 0 día
5,0 (2 comentarios)
2,1
2,1
7 freelancers están ofertando un promedio de $29 USD por este trabajo
Avatar del usuario
I am specialize in C++,C#.net,ASP.Net,JAVA, PHP, MySQL, Wordpress, e-commerce websites and portals, payment gateways and customized web based applications. my aim to deliver quality products to our customers within specified deadline. If hired by you I will put in my best work. I am ready to be hired by you and start work on your jobs. PM to me for more discussion
$24 USD en 1 día
5,0 (14 comentarios)
4,1
4,1
Avatar del usuario
I can do that for you and make your current script a little better too, it looks like it was written by an inexperienced coder.
$66 USD en 1 día
5,0 (1 comentario)
2,1
2,1
Avatar del usuario
a gift from me to you ;) you can do it like this $videodata['videotype']['code']; values could be if its youtube $videodata['youtube'][1]; $videodata['youtube'][2]; .... $videodata['youtube']['N']; or if it is vimeo you can do it like this $videocode['vimeo'][1], $videocode['vimeo'][2],....$videocode['vimeo'][N]
$25 USD en 2 días
5,0 (2 comentarios)
0,0
0,0
Avatar del usuario
Dear Sir, I am writing to inquire about job opportunity you have requested. I am interested in working for you and to complete the given task successfully and as you require. As a skilled labor force in Web Development such as PHP/MySQL with HTML/CSS, I am eager to contribute my abilities and experience for your required job. Given my extensive training and background, I believe I can help you in getting this done. Please provide me full information. I can personally assure high quality service and excellent communication can be provided by myself to fulfill your work. I look forward to hear from you. Sincerely, Hisham Haniffa
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi, I am a php developer and have wide experience. I will like work on this, seems small work. More details I will check with you Please contact me if you like it to be done on 26th Apr 2014. As I am busy today for other task I have. Thanks Ravi Bhagat
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de NETHERLANDS
Metropool, Netherlands
4,9
70
Miembro desde jul 26, 2013

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.