01-05-2015, 05:56 PMAndresXZ09 Wrote: 01-05-2015, 03:27 PMSozin Wrote: 01-05-2015, 12:45 AMAndresXZ09 Wrote: I think that you can replace that with Code:$random = array( 1=>"Blabla", 2=>"Blablabla", 3=>"jkdsa", 4=>"bkjsda", ); $random_stuff = rand(1, count($random)); $_text = $random[$random_stuff];Idk In fact, if you use 'text here' it gives an error (or atleast I get an error) you have to use "text" 1. Do not share hidden content. 2. IDK what you actually mean and the count stuff is okay I just said that's another way to do it
01-05-2015, 03:27 PMSozin Wrote: 01-05-2015, 12:45 AMAndresXZ09 Wrote: I think that you can replace that with Code:$random = array( 1=>"Blabla", 2=>"Blablabla", 3=>"jkdsa", 4=>"bkjsda", ); $random_stuff = rand(1, count($random)); $_text = $random[$random_stuff];Idk In fact, if you use 'text here' it gives an error (or atleast I get an error) you have to use "text" 1. Do not share hidden content. 2. IDK what you actually mean and the count stuff is okay
01-05-2015, 12:45 AMAndresXZ09 Wrote: I think that you can replace that with Code:$random = array( 1=>"Blabla", 2=>"Blablabla", 3=>"jkdsa", 4=>"bkjsda", ); $random_stuff = rand(1, count($random)); $_text = $random[$random_stuff];Idk In fact, if you use 'text here' it gives an error (or atleast I get an error) you have to use "text"
$random = array( 1=>"Blabla", 2=>"Blablabla", 3=>"jkdsa", 4=>"bkjsda", ); $random_stuff = rand(1, count($random)); $_text = $random[$random_stuff];
Loading Info...