skanck 2 Posted November 15, 2011 Report Share Posted November 15, 2011 any help appreciated, thanks I want to store a variable name to use in a script [(#name) for example] in a csv file and pass a script generated value to it, like so csv file has: row0:John,<br />"is related to {#name}",{#posts},{#location} row1:Jane,<br />"is following {#name}",{#posts},{#location} etc... in the script: set(#name, "Jimmy", "Global")then use the &table cell as a variable in the script, does this make sense? however, when I call it in the script they just show as #name, #posts and #location and don't inherit the values in the script I must be doing something wrong?Or is there a trick/syntax to doing this? Quote Link to post Share on other sites
osx 0 Posted November 15, 2011 Report Share Posted November 15, 2011 Cal't understand. Must be a complicated problem. Hope ant expert will help. http://imagicon.info/cat/5-34/1.gif Quote Link to post Share on other sites
skanck 2 Posted November 15, 2011 Author Report Share Posted November 15, 2011 haha utter bollocks it's not complicated just i am useless at explaining stuff and yea coming back and re-reading this i also dont understand what i mean i want to have html stored in a csv filein the csv file store the variable names {#name},{#posts}, {#location} within html like for example the html stored in the csv file would be: {#name} from <a title="{#name} made {#posts}" href="http://mysite.com/{#location}/{#name}/">{#location}</a> made {#posts} in {#month} but when i call that $table cell into the script only #name #location #posts appears like this: #name from #location made #posts in #month and not the values of those variables in the script make sense? Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted November 15, 2011 Report Share Posted November 15, 2011 your going to want to set the variable to something and replace in the text where that identifier comes up with the variable content. Quote Link to post Share on other sites
skanck 2 Posted November 15, 2011 Author Report Share Posted November 15, 2011 your going to want to set the variable to something and replace in the text where that identifier comes up with the variable content. cool, that works thanks TJ Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.