code integration, in wp plugins
€8-30 EUR
Pagado a la entrega
code integration, in wp plugins:
this code should affect the results of a dropdown
$c_userid = get_current_user_id();//user
$fielda = get_user_meta($c_userid,'tos',true); //dispari
$fieldb = get_user_meta($c_userid,'TSO2',true); //pari
//$sresult = 0;
$outsresarr = array();
if(($fielda!='agree') && ($fieldb=='agree')) {
//$sresult = 6;
$outsresarr = array(1,2);
}
if(($fielda=='agree') && ($fieldb!='agree')) {
//$sresult = 2;
$outsresarr = array(1,3);
}
if(($fielda=='agree') && ($fieldb=='agree')) {
//$sresult = 1;
$outsresarr = array(1,2,3);
}
if(($fielda!='agree') && ($fieldb!='agree')) {
//$sresult = 2;
$outsresarr = array(1);
}
Nº del proyecto: #15427041
Sobre el proyecto
Adjudicado a:
I have worked in hundreds of similar tasks in the past. This job I can do within a few hours. Thank you.
9 freelancers están ofertando un promedio de €21 por este trabajo
Hello, I have checked the code but which dropdown result you want to affect. lets discuss Looking forward to hear from yo
What exactly is this drop-down? And where it's being shown, by what and when, and what items it's actually be showing?
Hi there! I would be able to integrate this for you. I have 8+ years of experience with PHP, HTML, CSS, Javascript and SQL. I also have 6+ years of experience working with Wordpress.
Hi there, I can integrate this code for you in the required drop down menu. I am a wordpress expert and can do it for you within an hour