kcb212003
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Need a wizards helpMore specifically when I use feature image its creating a header image out of that photo. Any one know how to stop WordPress from creating the extra header image?
When I upload a picture this is what I get.
– Original photo.
– Header photo is created.
– thumb of that photo.and I just need:
– Original photo.
– thumb of that photo.No extra header photo made.
Forum: Fixing WordPress
In reply to: Getting Post Tile For SQLSOLVED!!!
I should have seen it. Fix code is below if anyone needs it…
<?php
$t_title=get_the_title();
$con = mysql_connect(“localhost”,”********”,”********”);
if (!$con)
{
die(‘Could not connect: ‘ . mysql_error());
}
mysql_select_db(“********”, $con);
$result = mysql_query(“SELECT * FROM ******* WHERE *******=’$t_title'”);
echo “<table border=’1′>
<tr>
<th>F</th>
<th>L</th>
</tr>”;
while($row = mysql_fetch_array($result))
{
echo “<tr>”;
echo “<td>” . $row[‘******’] . “</td>”;
echo “<td>” . $row[‘******’] . “</td>”;
echo “</tr>”;
}
echo “</table>”;
mysql_close($con);
?>Forum: Fixing WordPress
In reply to: Getting Post Tile For SQLor is there an other way to pull data from a different SQL database by using the post tile? something like <?php the_title(); ?> and it looks through the table for that title-id and echos the appropriate column (like description etc..)