|
|
 |
Re: FN-FORUM ASP code help
date posted 12th September 2002 16:13
You don't need the '(' for response.write should read
Response.Write "*" & len( trim( strAffiliateID)) & "*"
which will give you *ID* as output
>
>Program code:
>
>strAffiliateID = RecordSet.Fields("fldAffiliateID")
>Response.Write( "*" & len( trim( strAffiliateID)) & "*")
>Response.Write( "*" & strAffiliateID & "*")
>
>If len( trim( strAffiliateID)) = 0 Then
> Response.Write( "None")
>Else
> Response.Write( strAffiliateID & "hello")
>End If
>%>
>
>
>Output:
>
>****hello
>
>
>
>
>
>============================================================
>= Advanced web hosting solutions from Saffas. =
>= Unix, PHP, mySQL, SSL, Perl, Control Panel, 24/7 access. =
>= Why pay more for less? http://www.saffas.com =
>============================================================
>
>Sponsor the forum for as little as £1 at:
>
>http://www.freelancers.net/cgi/sponsor.cgi?action=show
>
>
>Advertise with Freelancers.net +Additions+
>
>http://www.freelancers.net/advert.php
>
>
>Freelancers and Freelance Jobs:
>http://www.freelancers.net
>
>Forum FAQs:
>http://freelancers.netrickery.com
>
>To unsubscribe please email:
[EMAIL REMOVED]
>
>If you have difficulties unsubscribing please email:
[EMAIL REMOVED]
>
>
|
 |
|