LisaH371
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Querying Custom Table…?Maybe I should just use Drupal
??Forum: Fixing WordPress
In reply to: Querying Custom Table…?If anyone can point me to a good tutorial, or such, that would help as well.
Forum: Fixing WordPress
In reply to: Querying Custom Table…?Not sure exactly what you are saying, though I appreciate any help!
So, are you saying:
`<?
$wpdb->get_results( “SELECT author_sub9.Sid, author_sub9.author_lname, author_sub9.author_fname, author_sub9.title, author_sub9.genre, author_sub9.approved
FROM author_sub9
WHERE author_sub9.approved = 1
ORDER BY author_sub9.genre,author_sub9.author_lname, ARRAY_A” );’But then what do I do to go through the array? This was the old code:
//omitted extraneous
‘<?php
$sLastGenre=”;
$Result = mysql_query($query, $bbtb1) or die(mysql_error());
while ($Row = mySql_fetch_array ($Result)) {
if ($Row[‘genre’]!=$sLastGenre)
{
if ($sLastGenre != ”)
echo ‘</table>’;
echo ‘
<h1> ‘.$Row[‘genre’].’</h1>
<table width=\”100%\” class=at>’;
$sLastGenre=$Row[‘genre’];
}
//original echo ‘<tr><td width=\”40%\”>’.’<td>’. $Row[‘title’].'</td></tr>’;
echo ‘<tr><td class=aname>’.’‘.$Row[‘author_lname’].’, ‘.$Row[‘author_fname’].’</td><td>’. $Row[‘title’].'</td></tr>’;
}
if ($sLastGenre != ”)
echo ‘</table>’; ?>’Forum: Fixing WordPress
In reply to: Spacing between an image and textIn advanced image options you can specify this
Forum: Fixing WordPress
In reply to: Accidentally Wiped Out My 26 Page WebsiteCan you get to the database backend?
Forum: Fixing WordPress
In reply to: Querying Custom Table…?Did I put too much code?
Am I not connecting to the wpdb perhaps?
Forum: Fixing WordPress
In reply to: Images in Text widget not displayingMost likely the path to the images is incorrect. How did you post the pictures? Relative or absolute links?
Forum: Fixing WordPress
In reply to: Is there a way to change this?Agreed. Your CSS says:
#sidebar{float:right; width:260px; padding-left:20px; overflow:hidden}
#page-wrap{width:960px; min-height:100%; height:auto !important; height:100%; margin:0 auto -80px; padding-left:10px; padding-right:10px; text-align:left}
.content{width:680px; float:left}
—–
Not sure what you mean by keeping the blog content “constant”.Your smallest width is 960 px, are you wanting smaller than that?