Unable to select text and creative domain names
Posted: Thu Mar 31, 2011 12:30 pm
Hey guys,
This is my first time on this forum, I've tried others but havent received help with this question, so I hope you guys can help...
Im working on an article feed to my homepage and the outcome of when I call my php file, is that my "summary text" and image of the feed are unselectable, but you can highlight the title text.. The title text is varchar and the summary is text in the sql database. When I call the php file by itself, everything is selectable the way I would like it to be but no styling (which I'm guessing is ok bc its just for the dynamic elements). How can I fix this?
Here is my feed php code:
<?php
require_once "config.php";
$sqlCommand = "SELECT * FROM articles ORDER BY id DESC LIMIT 3";
$query = mysql_query($sqlCommand) or die(mysql_error());
while($row = mysql_fetch_array($query)) : ?>
<div id="projectBlock">
<img src="<?php echo $row["imageLocation"]; ?>" />
<h5><?php echo $row["title"]; ?></h5>
<p><?php echo $row["summary"]; ?></p>
</div>
<?php endwhile;
mysql_close(); ?>
My second question.. so my personal site I'm redoing bc my old laptop was stolen (had my files on it) and I "somehow" accidentally deleted the files I had on the server.. so poof.. but in this redesign phase, I was thinking about maybe a different domain name.. so my current one is rickmhartmann.com, but would something a little more creative like (someone thought of this) rickofharts.com be looked at poorly by possible future employers? Any ideas?
Thanks!!
This is my first time on this forum, I've tried others but havent received help with this question, so I hope you guys can help...
Im working on an article feed to my homepage and the outcome of when I call my php file, is that my "summary text" and image of the feed are unselectable, but you can highlight the title text.. The title text is varchar and the summary is text in the sql database. When I call the php file by itself, everything is selectable the way I would like it to be but no styling (which I'm guessing is ok bc its just for the dynamic elements). How can I fix this?
Here is my feed php code:
<?php
require_once "config.php";
$sqlCommand = "SELECT * FROM articles ORDER BY id DESC LIMIT 3";
$query = mysql_query($sqlCommand) or die(mysql_error());
while($row = mysql_fetch_array($query)) : ?>
<div id="projectBlock">
<img src="<?php echo $row["imageLocation"]; ?>" />
<h5><?php echo $row["title"]; ?></h5>
<p><?php echo $row["summary"]; ?></p>
</div>
<?php endwhile;
mysql_close(); ?>
My second question.. so my personal site I'm redoing bc my old laptop was stolen (had my files on it) and I "somehow" accidentally deleted the files I had on the server.. so poof.. but in this redesign phase, I was thinking about maybe a different domain name.. so my current one is rickmhartmann.com, but would something a little more creative like (someone thought of this) rickofharts.com be looked at poorly by possible future employers? Any ideas?
Thanks!!