Categories > TinyButStrong general >

I want to urlencode a variable of a mysql merged block? Is that possible?

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: desbest
Date: 2010-07-21
Time: 08:11

I want to urlencode a variable of a mysql merged block? Is that possible?

I want to urlencode a variable of a mysql merged block? Is that possible?
    $TBS->MergeBlock("rangen",$conn,"SELECT * FROM photos  WHERE gender='$currentgenre' && buried !='yes' ORDER BY RAND() LIMIT 1") ;

[rangen.url]

Can I urlencode the rangen.url tag on the html file?
By: Skrol29
Date: 2010-07-21
Time: 09:36

Re: I want to urlencode a variable of a mysql merged block? Is that possible?

Hi,

[rangen.url;htmlconv=url]

supported since TBS 3.5.2