help please
help please
well im sorta confused of how to accomplish this script.. I want to make a drop down menu to select creatures from to battle. and something else im confused about is making an experience echo from current to next...
srry on android.
srry on android.
Re: help please
make your creature query
then you are going to do a while loop
then you are going to do a while loop
Code: Select all
while($creatureinfo3 = mysql_fetch_array($creatureinfo2)) {
echo "<select>
<option>$creatureinfo3['name']</option>
</select>";
}
Re: help please
thx man. so simple lol. so.. what about exp though. I have no idea
Re: help please
Code has a bug, this way you create a select for every monster right?
echo 'select name="monster">';
while(){
echo $someMonsterVal;
}
echo '</select>';
echo 'select name="monster">';
while(){
echo $someMonsterVal;
}
echo '</select>';
Re: help please
im confused at ur code xal :/ ill try tinkering when I get home from work if u haven't responded before then
Re: help please
Code: Select all
By Nexus:
Code: Select all
while($creatureinfo3 = mysql_fetch_array($creatureinfo2)) {
echo "<select>
<option>$creatureinfo3['name']</option>
</select>";
}
Code: Select all
echo '<select>';
while($creatureinfo3 = mysql_fetch_array($creatureinfo2)) {
echo "<option>$creatureinfo3['name']</option>";
}
echo '</select>';
Re: help please
oooh. I understand. thxxx 
. xal do u know how to generate an echo til next lvl up / exp til.
. xal do u know how to generate an echo til next lvl up / exp til.
Re: help please
well put this in the statpanel if it doesn't already show exper(haven't messed with the tutorial in a long time
)
Code: Select all
echo "$playerinfo3['exper'] / $playerinfo3['experneeded']"