hybridfury Posted October 5, 2008 Share Posted October 5, 2008 Hello all, just have a quick question about something I'm trying to do that is stumping me and I know its something easy. This is a bit of code from my joomla 1.0 site. Im trying to replace the portion that refers to Notes: and the $RecruitmentBlurb with a link that simply says "Apply Here" and it links to /index.php?option=com_chronocontact&Itemid=42 Would appreciate any help I could get on this, thanks. } $content .= " <hr>"; $content .= " <font color=\"#FFCC00\">Notes:</font><br>$RecruitmentBlurb</div></td>"; $content .= " </tr>"; $content .= " </tbody>"; $content .= " </table></td>"; $content .= " </tr>"; $content .= " </tbody>"; $content .= "</table>"; ?> Link to comment https://forums.phpfreaks.com/topic/127152-href-command-in-php/ Share on other sites More sharing options...
Brian W Posted October 5, 2008 Share Posted October 5, 2008 $content .= '<a href="/index.php?option=com_chronocontact&Itemid=42" >Apply Here</a>'; Tip/note: I used single quotes for the outside so you could freely use double quotes on the inside. Link to comment https://forums.phpfreaks.com/topic/127152-href-command-in-php/#findComment-657754 Share on other sites More sharing options...
hybridfury Posted October 5, 2008 Author Share Posted October 5, 2008 Cool, thanks. I had that exact line of code in there and it wasn't working, but I think I left the reference to the font color in there wrong. Thanks for the assit and cool site Link to comment https://forums.phpfreaks.com/topic/127152-href-command-in-php/#findComment-657757 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.