This is the PHP i'm using to talk with the mysql database:
<?php
require_once('../../includes/scripts/db_connector.php');
$connector = new DB_Connector();
$result = $connector -> query('SELECT * FROM questions
WHERE topic_id
= 0');
echo '<span class="title">Questions: Top
5</span>';
echo '<div
class="title_rule"></div>';
while($row = $connector -> fetchArray($result)) {
echo '<div
class="question">'.$row['question'].'</div&g
t;';
echo nl2br('<div
class="answer">'.$row['answer'].'</div>')
;
echo '<div id="faq_bttn"
class="faq_more"></div>';
echo '<div
class="dotted_rule"></div>';
}
?>
The problem is i have this: <a
href="link.html">Link</a> in one of the
fields in the mysql database. When the page loads it shows
the html <a
href="link.html">Link</a> NOT a clickable
link.
On Aug 21, 7:00 pm, "♥ ÐEURO ÕÑê & ÕÑ£¥
Thãñj襧 Hè(r)è ♥"
<thanj... gmail.com> wrote:
> i understand u question smally..if u send ur code then
i will help u...
>
> On 22/08/07, mbarbs <mbarbs.m... gmail.com> wrote:
>
>
>
> > I have a html link in a mysql database field that
is getting queried
> > using PHP. My problem is when the page is
rendered, the link displays
> > the html not an actual clickable link. Any help
would be greatly
> > appreciated.
>
> > Thanks
>
> --
> ♥ <º))))><.·´¯`·. ¯|¯hê ßÕ§§
Thãñj襧¸.·´¯`·.¸><((((º>♥
>
> *°¤*(¯`°(ßåch飨(r) Õƒ §oftwå(r)ê
§è(r)v좣)°´¯)*¤°*
--~--~---------~--~----~------------~-------~--~----~
This group is managed and maintained by the development
staff at 360 PSG. An enterprise application development
company utilizing open-source technologies for todays
small-to-medium size businesses.
For information or project assistance please visit :
http://www.360psg.com
You received this message because you are subscribed to the
Google Groups "Professional PHP Developers"
group.
To post to this group, send email to Professional-PHP googlegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---
|