Sorry for the long description. Anyway, I'm trying to display a list of current tables within a database. The issue: I'm not sure how I would do that :confused:
I only know how to display the details within a row of the table, not the current tables within a database.
It should appear similar to this...
Database => Tables();
|_Users[]
| |_______Username[]
| |_______Password[]
| |_______Email[]
|
|_User[]
|_______Friends_list[]
|_______Messages[]
Anyway, the other issue is; scaling <div> tags with the content within a page. I mean, I would rather have a <div> tag that fits in with the content that's contained within it, rather than having the content displaying outside it, if it goes over the height and width of the tag.
I'm not sure whether it's the way I'm designing them :confused:
I keep designing my pages like this...
CODE
<html>
<head>
<style type="text/css">
body
{
background-color: #CCCCCC;
}
#content
{
position: relative;
top: 300px;
left: 400px;
height: 650px;
width: 800px;
background-color: orange;
border: 2px solid black;
}
#withincontent
{
position: relative;
top: 320px;
left: 420px;
height: 300px;
width: 300px;
background-color: #E6E6E6;
border- 2px solid black;
}
</style>
</head>
<body>
<div id="content">
Withincontent will be displayed below... <br>
<div id="withincontent">
This
is
within
content
</div>
If
I
scale
this
text
down,
it
goes
over
the
div
</div>
</body>
</html>
I'm not sure how to fix this issue :confused:
Oh, and also!!
I don't understand how to check if a table doesn't exist :confused:
CODE
If($tablename What here? Doesn't exist)
{
print "You cannot remove <b>$tablename</b>, as it does not exist within the current database: <b>$dbname</b>.<br>";
}
This post has been edited by livelonger87: 25 Jun, 2008 - 06:43 AM