Jump to content


Assira the Black

Recommended Posts

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?



Link to comment
Share on other sites

  • Root Admin

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"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Forum Statistics

    Total Topics
    Total Posts
  • Recently Browsing

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
  • Recent Event Reviews

  • Create New...