Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

data retrieve help

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

data retrieve help

Postby petro » Wed Feb 13, 2013 2:15 am

i have written some codes here below. i want more help admin is able to view all reports(complains) from the database after then admin can work to solve them now i want to put a link that will show which reports (complais) are solved -completed and which are not solved-incomplete.
echo "Database not connected:";

//declaring variables...

//retrieving reports from database..
$query="SELECT building_name,room_number,report_id,registration_number FROM report";

echo"<table width='90%' align='center'>";
echo"<tr><th><em>Building Name:</em></th><th><em>Room Name:</em></th><th><em>Report ID:</em></th><th><em>User ID:</em></th></tr>";

echo "<tr><td align='center'>".$row['building_name']."</td><td align='center'>".$row['room_number']."</td><td align='center'>".$row['report_id']."</td><td align='center'>".$row['registration_number']."</td></tr>";
<p><a href="admin_logged_in.php"/></p>
<p>ADMIN HOME PAGE</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="admin_logout.php">LOG OUT</a>
New php-forum User
New php-forum User
Posts: 3
Joined: Mon Feb 04, 2013 6:26 am

Return to PHP coding => General

Who is online

Users browsing this forum: Google [Bot] and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.