Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: how to view data?
01-04-2008, 09:25 AM #1
- Join Date
- Dec 2007
- Thanked 0 Times in 0 Posts
how to view data?
just want to know on how can I view the data that I have save into the database into another page which is in a table format..
========this is the save code =============
$sql="INSERT INTO tblmasterinvent (department, userName, dateissued, form, brand, model, serial, datepurchased, processor, system, usb, memory, harddisk, phone, cost, remarks) VALUES ('$_POST[department]','$_POST[userName]','$_POST[dateissued]','$_POST[form]','$_POST[brand]','$_POST[model]','$_POST[serial]','$_POST[datepurchased]','$_POST[processor]','$_POST[system]','$_POST[usb]','$_POST[memory]','$_POST[harddisk]','$_POST[phone]','$_POST[cost]','$_POST[remarks]')";
die ('Error: ' . mysql_error());
echo "1 record added";
===want to view the data that save into the database in this table====
<th class="td1">User Name</td></th>
I want all the data that I've added and save into database to appear also here..in this table..
01-04-2008, 09:30 AM #2
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
- Join Date
- Mar 2007
- Thanked 2,214 Times in 2,201 Posts
- Blog Entries