+Andreeas Z. Posted June 25, 2015 Report Posted June 25, 2015 Nu imi dau seama care ar putea fi codul php in cazul imaginei de mai jos.Unde Discutii Generale este : ($_data['cat_data']['name'])News ce cod php ar putea avea ?
+Andreeas Z. Posted June 25, 2015 Author Report Posted June 25, 2015 Cred că bănuiești ce vreau să fac.Îmi dă eroare când dau save ,deci undeva nu se leaga codurile.<php> $icon = ''; switch ({$forum_data['name']}){ case 'Zona administrativă': $icon = '<i class="fa fa-home"></i>'; break; default: $icon = ''; break; } </php>
Moderators Courage Posted June 25, 2015 Moderators Report Posted June 25, 2015 (edited) <php> $icon = ''; switch ($forum_data['name']){ case 'Zona administrativă': $icon = '<i class="fa fa-home"></i>'; break; default: $icon = ''; break; } </php>Vezi asa, fara acolade la$forum_data['name'] Edited June 25, 2015 by Courage 1
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now