I'm very new to ampscript and am having an issue with a snippet of ampscript showing as blank. This is what I currently have:
%%[ set @firstName = Lookup('master','first_name','email',email) IF @firstName == "" THEN set @firstName = "Friend" ENDIF ]%% Hey %%=v(@firstName)=%%, if you love someone let 'em know!
SNIPPET 2 (showing as blank):
%%[ set @smilereferralurl = Lookup('master','smile_referral_url','email',email) IF @smilereferralurl == "" THEN set @smilereferral = "Create an account to get your code." ENDIF]%% %%=v(@smilereferralurl)=%%
Imagine your balance of %%[ set @smilepointsbalance = Lookup('master','smile_points_balance','email',email) IF @smilepointsbalance == "" THEN set @smilepointsbalance = "0" ENDIF ]%% %%=v(@smilepointsbalance)=%% + 1000 more inkbucks
Snippet #2 is not showing anything but the other two are populating as expected. Any and all feedback is very much appreciated.