I'm trying to make this line a link can anyone help I tried a view different ways but with no luck lol just kept getting a blank page
PHP Code:print $category['catalogname']."(".checkQuan($category['catalogid']).")<br />";
I'm trying to make this line a link can anyone help I tried a view different ways but with no luck lol just kept getting a blank page
PHP Code:print $category['catalogname']."(".checkQuan($category['catalogid']).")<br />";
A link to where?
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
don't really understand the questions cause some info is missing in your original post. But it looks like you should add something liketo your code.Code:<a href="[URL HERE]">[HYPERLINK TEXT HERE]</a>
-GT
I'm assuming you want something like this:
but there is info missing in your original post. Please post more info so we can help out more.Code:print '<a href="URL">'.$category['catalogname'].'('.checkQuan($category["catalogid"]).')"></a><br />';
EDIT: Sorry, was typing up post, got sidetracked, and clicked post reply without going back and looking at the thread for new posters, GT.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
Bookmarks