PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
dreamslayer
Forum Newbie
Posts: 2 Joined: Sun Apr 01, 2007 8:02 am
Post
by dreamslayer » Sun Apr 01, 2007 8:04 am
Never used PHP before and downloaded a webcomic navigation template. I have everything working but 1 small issue.
Code: Select all
<? if($strip_id != 0) {print("<a href=\"?strip_id=0\">First Comic</a>");} ?>
I want to replace the text "First Comic" with an image. Every method I have tried has turned my whole index blank =P
Thank you for any input.
s.dot
Tranquility In Moderation
Posts: 5001 Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana
Post
by s.dot » Sun Apr 01, 2007 9:28 am
dreamslayer wrote: Never used PHP before and downloaded a webcomic navigation template. I have everything working but 1 small issue.
Code: Select all
<? if($strip_id != 0) {print("<a href="?strip_id=0">First Comic</a>");} ?>
I want to replace the text "First Comic" with an image. Every method I have tried has turned my whole index blank =P
Thank you for any input.
Code: Select all
<? if($strip_id != 0) {print("<a href="?strip_id=0"><img src="path/to/image.jpg" alt="image" border="0" /></a>");} ?>
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
dreamslayer
Forum Newbie
Posts: 2 Joined: Sun Apr 01, 2007 8:02 am
Post
by dreamslayer » Sun Apr 01, 2007 12:09 pm
Ah, that's what I was doing wrong.
Didn't have any \
Thank you very much ^^