rand() expects parameter 1 to be long, string given in c:\blablabla
thats the warning i get on this line..
$creaturetext1 = $creatureinfo3['text1'];
$creaturetext2 = $creatureinfo3['text2'];
$attack = rand($creatureinfo3['text1'],$creatureinfo3['text2']);
CODE LINE:
echo "The " . $creature . " Rush towards you and " . $attack . " and hits " . $location ." .<br>";
it cant be to long in DB. cuz i have it Varchar 77 and iam only using around 20-30 letters for a hit text.
What the line SHOULD do is:
The bear........Rush towards you and....Attacks with its giant razor sharp claws,....and hits.....your Head.
$creature............................................(hittext1 or hittext2)...................................($location)
iam trying to flip around stuff, but i cant see whats wrong still.
Most likely something easy.
any help whould be nice