0

Hi..
I'm new bie in php.I'm trying to create a "Asset Tracking System" software using php,mysql. I create menu named ats_itmentry,ats_itmissued,ats_itmreturned. but how to make each three form for insert data through these ? pls help me. i want it with php.

3
Contributors
5
Replies
8
Views
8 Years
Discussion Span
Last Post by quickworld
-1

Hey.

I'm sorry mate, you are going to have to explain that a LOT better if you want us to be able to provide any sort of useful responses.

Try showing us the code you have, and tell us what isn't working and why.

0

hi..
thanx for reply. sorry. i'm a complete new bie in php. I 'm trying again to reach you.

I want to make a form by php which can enter all of my item.That form must have add , save ,delete button.

thnx

0

hi..
I want to make a form by php which can enter all of my item.That form must have add , save ,delete button.

thnx

for this you need to have your database too, I am creating a demo form below with database connection and the add, modify,delete features in it.you can modify it further.

I will code it step by step, starting from the basic html of it -

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
.table{
border:1px solid black; margin:5px 5px 5px 5px; padding:5px 5px 5px 5px;
font:Verdana, Arial, Helvetica, sans-serif;
}
.th{
color:#3300CC;
font-size:13px;
}
.td{
color:#3366FF;
font-size:11px;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<form id="frm" name="frm" method="post" >
<table>
<th>Sr No</th>
<th>Title</th>
<th>value</th>
<th>Action</th>
<tr><td></td>
<td></td>
<td></td>
<td><input type="button" name="edit" id="edit" value="Edit" onclick="" />
<input type="button" name="add" id="add" value="Add" onclick=""  />
<input type="button" name="delete" id="delete" value="Delete"  />
</td></tr>
</table>
</form>
</body>
</html>
0

<div id="nav">
<ul>


<?php if ($page == 'Itm_Entry') { ?>
<li class="live">
<em><a href="button.php">Itm_Entry</a></em>
</li>
<?php } else { ?>
<li><a href="button.php">Itm_Entry</a></li>
<?php } ?>

<?php if ($page == 'Itm_Issued') { ?>
<li class="live">
<em><a href="buton.php">Itm_Issued</a></em>
</li>
<?php } else { ?>
<li><a href="buton.php">Itm_Issued</a></li>
<?php } ?>

<?php if ($page == 'Itm_Returned') { ?>
<li class="live">
<em><a href="contact.php">Itm_Returned</a></em>
</li>
<?php } else { ?>
<li><a href="contact.php">Itm_Returned</a></li>
<?php } ?>

</ul>
</div>


button.php

<tr>
<td align: "down"> Asset Type:</td>
<td><INPUT type="text" value="Asset Type" />
</tr>


<tr>
<td align:"down">Asset Name:</td>
<td><INPUT type="text" value="Asset Name" />
</tr>

<tr>
<td align:"down">Category:</td>
<td><input type="text" value="Category" />
</tr>


<tr>
<td align:"down">Model:</td>
<td><input type="text" value="Model" />
</tr>


<tr>
<td align:"down">Serial Number:</td>
<td><input type="number" value="Serial Number" />
</tr>


<tr>
<td align:"down">Warrenty Period:</td>
<td><input type="number" value="Warrenty Period" />
</tr>


<tr>
<td align:"down">Date:</td>
<td><input type="Date" value="Date" />
</tr>

<tr>
<td align:"down>
<input type="button" name="add" id="add" value="save"

onclick="" />
<input type="button" name="delete" id="delete"

value="Delete" onclick=""/>
</td></tr>
</table>
</form>
</body>
</html>

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.