Go Back   SitePoint Forums > Forum Index > Program Your Site > PHP
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
Reply
 
Thread Tools Display Modes
Old May 24, 2005, 04:08   #1
zonkd
SitePoint Zealot
 
Join Date: Dec 2004
Location: Beside the historic creek in Richmond
Posts: 125
Those skiving tags and hyperlinks from KY's book

When I take the script (file:joke.php) from Kevin Yank’s excellent gospel, Chapter 7 p 160, and adapt it for my project, the hyperlinks and tags don’t want to work.

This is how it sits in the mysql db:

[i]Shakespeare's musk rose [ei]is one of the most famous and frequently misidentified rose species in the [b]history of horticulture.[eb] Though widely grown since Classical times and illustrated clearly in medieval manuscripts, the true Rosa moschata was for many years unobtainable in the US and Great Britain. [PAGEBREAK]

For much of the[L]<a href="http://www.wow.com"> 20th century</a> [EL]the autumn blooming musk rose was confused in commerce with its relative <em>Rosa brunonii.</em> R. brunonii is a much taller growing, summer blooming climber which still accounts for most of the plants sold under the name of "musk rose".[PAGEBREAK]


The pagebreak works excellently, but the hyperlinks, the [L] and [i] and [b] etc appear on the browser page exactly as they are in the db.
What do I need to do, please, to get them working?
zonkd is offline   Reply With Quote
Old May 26, 2005, 11:18   #2
trhynard
SitePoint Addict
 
Join Date: Apr 2001
Location: Michigan
Posts: 382
If you posted the code that you are using it would probably help
trhynard is offline   Reply With Quote
Old May 26, 2005, 18:49   #3
DM3Dan
SitePoint Addict
 
DM3Dan's Avatar
 
Join Date: Sep 2004
Location: Albany, NY
Posts: 338
Did you use the preg_replace() that he used in the book?
DM3Dan is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 21:21.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved