Quote:
Originally Posted by stonehammer
no script is the software used to run the site
if your using wordpress then maybe try changing themes, alot of free themes that should work. the column and table thing is a real problem
|
yes it is word(de)pressed lol
I have tons of themes yes but adult skin theme was closest to what I was looking for in overall layout (its one suggested here in a post about themes somewhere).
I will switch to one I have not "tampered" with, but the right adds bar might cover center again and a lot of adjustments will be off but eh. But I will test temporarily.
also trying to learn mysql database stuff. a real brain ache. have one uploaded(no clue if right) and been trying to whats it, query to post?
found this code I am test chopping but not sure what to chop or if it'll even work. lol
<html>
<body>
<?php$username="username";$password="password";$da tabase="your_database";
mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query="SELECT * FROM tablename";$result=mysql_query($query);
$num=mysql_numrows($result);mysql_close();?>
<table border="0" cellspacing="2" cellpadding="2">
<tr>
<td>
<font face="Arial, Helvetica, sans-serif">Value1</font>
</td>
<td>
<font face="Arial, Helvetica, sans-serif">Value2</font>
</td>
<td>
<font face="Arial, Helvetica, sans-serif">Value3</font>
</td>
<td>
<font face="Arial, Helvetica, sans-serif">Value4</font>
</td>
<td>
<font face="Arial, Helvetica, sans-serif">Value5</font>
</td>
</tr>
<?php$i=0;while ($i < $num) {$f1=mysql_result($result,$i,"field1");
$f2=mysql_result($result,$i,"field2");$f3=mysql_re sult($result,$i,"field3");
$f4=mysql_result($result,$i,"field4");$f5=mysql_re sult($result,$i,"field5");?>
<tr>
<td>
<font face="Arial, Helvetica, sans-serif"><?php echo $f1; ?></font>
</td>
<td>
<font face="Arial, Helvetica, sans-serif"><?php echo $f2; ?></font>
</td>
<td>
<font face="Arial, Helvetica, sans-serif"><?php echo $f3; ?></font>
</td>
<td>
<font face="Arial, Helvetica, sans-serif"><?php echo $f4; ?></font>
</td>
<td>
<font face="Arial, Helvetica, sans-serif"><?php echo $f5; ?></font>
</td>
</tr>
<?php$i++;}?>
</body>
</html>