January 25, 201511 yr comment_161023 When using the @content, how can you string multiple @content. For example: if(uv('name')== 'Assira the Black'){ print @content[1]; } I would want @content[0] and @content[1] show. I have tried print @content[0] + @content[1] but it does not work and I have tried () around the two. I am a noob at all this and probably missing a simple addition to the code. Any suggestions? Report
January 25, 201511 yr comment_161024 print @content[0] ."<p/>" .@content[1]; I added in the paragraph break, but the key part is putting a full stop before the next fragment Report
January 26, 201511 yr Root Admin comment_161029 Yeah, instead of using + php uses . (full stop) to put things together (technical word is concatanate) If you want to know stuff about MDScript, sometimes you can find it out by googling your problem, and instead of asking for mdscript help, ask for PHP help, since MDScript is primarily PHP. e.g. google "How to add strings together php" Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.