即時使用Wowonder腳本社交網絡,我想添加未指定的性別在我的個人資料設置,但它顯示我的網頁上的錯誤。在Wowonder中添加新的性別個人簡介信息
<?php
$gender = ucfirst(strtolower($wo['user_profile']['gender'])); echo ($gender == 'Male') ? $wo['lang']['male'] : $wo['lang']['female'] : $wo['lang']['unspecified'];
?>
謝謝
'回聲($性別== '男')? $ wo ['lang'] ['male']:(($ gender =='Female')?$ wo ['lang'] ['female']:$ wo ['lang'] ['unspecified']) ;' – Sinto