Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kaip iterpti koda?
Parašė remark· 2008 Sau. 17 22:01:23
#1
if ($userdata['user_avatar'] != "") {
<img border='0' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'>
} else {
<img border='0' src='".BASEDIR."images/avatars/noav.gif'>
}
Kaip iterpti koda i Table ?
(<td></td>)
Parašė sniuff· 2008 Sau. 17 22:01:06
#2
echo "<table><tr><td>";
if ($userdata['user_avatar'] != "") {
<img border='0' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'>
} else {
<img border='0' src='".BASEDIR."images/avatars/noav.gif'>
}
echo "</td></tr></table>";
Taip bandyk.
Parašė remark· 2008 Sau. 17 23:01:58
#3
neiseina :/
Parašė sniuff· 2008 Sau. 17 23:01:17
#4
echo "<table><tr><td>";
if ($userdata['user_avatar'] != "") {
echo "<img border='0' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'>";
} else {
echo "<img border='0' src='".BASEDIR."images/avatars/noav.gif'>";
}
echo "</td></tr></table>";
Taip veiks tikrai, bet aš tai kvailas.
Parašė remark· 2008 Sau. 18 13:01:18
#5
aciuuuuu :pB)
Parašė sniuff· 2008 Sau. 18 13:01:59
#6
prasom cia tik
php patys pradmenys.