我有四组:$text[], $ytext[], $titles[], $ytitles[]
破灭阵列和存储为完整的字符串
我想要做的就是破灭的阵列,文字和字幕,通过“”将它们存储为一个完整的字符串。但我想根据它们的位置(这是一个y坐标整数)来排列它们。
例如:
$text[] =
{1 => hello
2=> again
3 => more text
}
$ytext[] =
{1 => 5
2=> 10
3 => 14
}
$titles[] =
{1=> title
2=> title2
}
$ytitles[] =
{1=> 2
2=> 11
}
所以这将是这样的:title hello again title2 more text
我不明白要求,你能举出更多的例子吗? – JRL
最终结果基本上就是最后的句子.....根据由ytext和ytitles指定的每个单独字符串的位置,文本和标题的单独字符串将按照这样的方式组织 – re1man