barryturrell
Technical User
Hello,
i am trying to make php read from a file and then give me a responce like : <number> <in/out>
The file it is reading from shall contain info such as:
123 in
124 out
125 out
So far i have a basic form:
<center>
<br>
<form method="post" action="dosomething.php">
.lease Enter Video NumbeR:.
<br></br>
<input type="text" name=".:Video NumbeR:." >
<br></br>
<input type="submit" name="Press Here When Done" value=".:SubmiT:.">
<br></br>
<input type="reset" value=".:ReseT:.">
</center>
this will lead to "dosomething.php" but i need to eneter the number, eg 123, then when it opens dosomething.php i need it to gove me a reply, sof for 123 it would be a reply of "In".
I will also need to write to the file containing the info.
If any1 can help it would be gratefully recieved.
Thank you
i am trying to make php read from a file and then give me a responce like : <number> <in/out>
The file it is reading from shall contain info such as:
123 in
124 out
125 out
So far i have a basic form:
<center>
<br>
<form method="post" action="dosomething.php">
.lease Enter Video NumbeR:.
<br></br>
<input type="text" name=".:Video NumbeR:." >
<br></br>
<input type="submit" name="Press Here When Done" value=".:SubmiT:.">
<br></br>
<input type="reset" value=".:ReseT:.">
</center>
this will lead to "dosomething.php" but i need to eneter the number, eg 123, then when it opens dosomething.php i need it to gove me a reply, sof for 123 it would be a reply of "In".
I will also need to write to the file containing the info.
If any1 can help it would be gratefully recieved.
Thank you