Hello folks, I’m building a website for my dad’s company, so far doing good but now I’ve encountered some problems, so they are working with a software that saves certain data into a text file, its a service company that repairs electronics, so the data is : [B]worksheet code, customer code, device name, device serial number, manufacturer, price offer, gross price in total, repair status.
[U][B]Example:
654;13285;SDR-H80;E9IA10966;Panasonic;15000;14975;Complete
as u can see the software saves the data in that exact order as i mentioned, seperating them with a ;
( 654 is the worksheet code, 13285 is the customer code, SDR-H80 is the device name etc…. )
So what i need is a php code that will retrieve the right data and displaying it’s status from a form action.
So here’s my code:
<div id=”login” class=”boxed”>
<h3 class=”title”>Information about devices</h3>
<p class=”content”>You can find the worksheet ID and the customer code on your worksheet.</p>
<div class=”content”>
<form id=”form1″ method=”post” action=”process.php”>
<fieldset>
<label for=”inputtext1″>Worksheetcode:</label>
<input type=”text” name=”ID”>
<label for=”inputtext2″>Customer code:</label>
<input type=”text” name=”code”>
<input type=”submit” name=”Submit” value=”Submit”>
<input type=”reset” name=”reset” value=”Reset”>
</fieldset>
</form>
</div>
So as you can see it’s an HTML form, that refers to a .php, i need a php code that will search and display all the data related to a certain device from the textfile by giving the ” customer code ” and the ” worksheet code ” ?
Thank you guys in advance! ?