need a little help with a line of code ..hope someone here can help me out.
this is the code,
<? if($TeamLocalScore08 != '') {echo "<td width='50' valign='middle' align='center' background='../images/nhl_logo86/Result.gif' <a href='/Archives/2013-2014-RegularSeason/QNHL8-$Game08.html'>FINAL</a> "; }?>
everything works and looks as I want except the link.... the FINAL shows up but I cant click on it
to get to the webpage.
what do I need to do to make it work ??
thanks for the help
PHP Code Help
-
- STHS Owner / Propriétaire du STHS
- Posts: 14784
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: PHP Code Help
1) Show me the Link.
2) Try changing the ' in your lhink by a \"
2) Try changing the ' in your lhink by a \"
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
-
- The Addict / Le Drogué
- Posts: 752
- Joined: Fri Oct 28, 2005 2:42 pm
- Location: Ste-Julie
- Contact:
Re: PHP Code Help
got it!
<? if($TeamLocalScore08 != '') {echo "<td width='50' valign='middle' align='center' background='../images/nhl_logo86/Result.gif' </td> <a href='/Archives/2013-2014-RegularSeason/QNHL8-$Game08.html'>FINAL</a> "; }?>
I was missing a </td>
<? if($TeamLocalScore08 != '') {echo "<td width='50' valign='middle' align='center' background='../images/nhl_logo86/Result.gif' </td> <a href='/Archives/2013-2014-RegularSeason/QNHL8-$Game08.html'>FINAL</a> "; }?>
I was missing a </td>