using iframes to display datbase enterys
Page 1 of 1
using iframes to display datbase enterys
- Code:
<? require ("tracker.php");
?>
<head>
<basefont color="red" size="5" />
<style>
{width:100%;border:1px #444444 solid;background-color:}
H3 {margin-top:0px;font:bold 12pt '';color:#ff4444}
TD {font:normal 10pt '';color:#ff4444}
A {color:#444444}
</style>
</head>
<center>
<font color="orange" font size="+1">
<?php
include 'dbc.php';
?>
<title>J~Net Balance Accounts</title>
<?php session_start();
$id = $_SESSION['user_id'];
$_SESSION['user_id']= $id;
$_SESSION['user_name'] = $full_name;
$_SESSION['user_level'] = $user_level;
$_SESSION['HTTP_USER_AGENT'] = md5($_SERVER['HTTP_USER_AGENT']);
$_SESSION['session_name'] = $user_name;
$_SESSION['balance']= $balance;
// Connects to your Database
mysql_connect("localhost", "root", "") or die(mysql_error());
mysql_select_db("messages") or die(mysql_error());
$data = mysql_query("SELECT * FROM users where id = $id")
or die(mysql_error());
echo "<table border cellpadding=3>";
while($info = mysql_fetch_array( $data ))
{
echo "<tr>";
echo " <td>".$info['user_name'] . "</td> ";
}
echo "</table>";
?>
<font size="3" color="red"> </font>
<body style="background:#55555555">
Similar topics
» HDMI Display Raspberry Pi Issue Fix
» Display An Image From The CLI On Linux With Bash
» display all hidden startup params in linux
» Linux command to display wifi passwords!
» Fixing Mysql Database Migration Error where Web Page Dont Display Correctly
» Display An Image From The CLI On Linux With Bash
» display all hidden startup params in linux
» Linux command to display wifi passwords!
» Fixing Mysql Database Migration Error where Web Page Dont Display Correctly
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|