use php process a web form feedback-view data-continue

Sandy | Full stack Web developer

now you got all the information, and you insert data to your databases. and you public you data into php page.

here is the code:

echo “<h1>Chinese Zodiac Feedback</h1>”;
$table = “zodiacfeedback”;
$query = “select * from $table”;
$result = @mysql_query($query);
echo “<table width = ‘100%’ border = ‘1’>”;
echo “<tr><th>Message Date</th><th>Message Time</th><th>Sender</th><th>Message</th><th>Public</th></tr>”;
while($row = mysql_fetch_assoc($result))
echo “<tr><td>{$row[‘message_date’]}</td><td>{$row[‘message_time’]}</td><td>{$row[‘sender’]}</td><td>{$row[‘message’]}</td><td>{$row[‘public_message’]}</td></tr>”;

echo “</table>”;


View original post


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s