rch->facebook->ListViewValue()=="")
{
echo '';
}
else if($search->plugin->ListViewValue()=="" &&
$search->facebook->ListViewValue()=="")
{
echo "";
}
else
{
echo ''.'';
}
?>
--
*Best,
*
*Gu®u*
The issue is both the images are echoing and no if else statement is
working.
On Tue, Mar 13, 2012 at 7:22 PM, Matijn Woudt wrote:
> On Tue, Mar 13, 2012 at 1:03 PM, Gu®u wrote:
> > Hi,
> >
> > Please help me with this code. I have 2 different fields in mysql table.
>
gt; } elseif ($search->plugin->ListViewValue() != "") {
> // Twitter has a value
> echo ' src="images/twitter.gif" width="22" height="23"/>';
> } else {
> // Facebook has a value (only possible option left)
>
$fb!="")
{
echo '';
}
elseif($fb!="" && $tweet!="")
{
echo ''.'';
}
On Tue, Mar 13, 2012 at 9:44 PM, Matijn Woudt wrote:
>
d: from rcdn-webmail-9.cisco.com (localhost.localdomain
>> [127.0.0.1])
>> by rcdn-webmail-9.cisco.com (8.13.8/8.13.8) with ESMTP id
>> q2H8QATx023331
>>for>;
>> Sat, 17 Mar 2012 08:26:10 GMT
>> Received: from my.linux (rcdn-webmail-9.cisco.com [173.37.180.115])
>> by rcdn-webmail-9.cisco.com (Scalix SMTP Relay 11.4.6.13676)
>> via ESMTP; Sat, 17 Mar 2012 08:26:09 + (UTC)
>> Date: Sat, 17 Mar 2012 16:25:11 +0800
>> From: nathhuan
>> To: php-db-subscr...@lists.php.net
>> Message-ID:<4F644A67.6080004@**cisco.com <4f644a67.6080...@cisco.com>>
>> Subject: subscribe
>> x-scalix-Hops: 1
>> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216
>> Thunderbird/10.0.1
>> MIME-Version: 1.0
>> Content-Type: text/plain;
>>charset="US-ASCII";
>>format="flowed"
>>
>>
>>
>>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
*Best,
*
*Gu®u*
,
*
*Gu®u*
tp://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
*Best,
*
*Gu®u
CEO & Founder at,
www.myshopads.com
*