<INPUT TYPE = "Text" VALUE ="0"
ID = "username2" NAME = "username2">
<?php
$value1 = $_POST['username2'];
$nine=$value1;
$codx =$characters[$nine]->name;
?>
Im tring to get '0' in username2 inputbox
readit in php $nine
$codx =$characters[$nine]->name;
as you can see in my <?php code above
I cant get the 0 from this inputbox
It only works like this
<?php
$nine='0'
$codx =$characters[$nine]->name;
?>
What i need is to get the users
input. from a textbox on my page
called username2
they would enter between 0 and 8
as you can see its set to 0 on my
textbox, the 0 - 8 is the
character location
$characters[$nine]
the $nine will hold the number
between 0 - 8
My php code i cant read my texbox
input.
How do I read the user input
into my
my textbox post pulls the input
$nine = $_POST['username2'];
$codx =$characters[$nine]->name;
i noticed it wouldn't work
it only works this way
$nine='0';
$codx =$characters[$nine]->name;
Let me know how to read in user input
from my username2 textbox.
Thanks in advance
sorry to repeat i needed to explain
so you can see my error.