Adding a link to a line of php
5 posts
• Page 1 of 1
Adding a link to a line of php
Here's the code...
$creds_text = ( 'Copyright 2011 © Your Business / Custom CMS and Site Build by YourUrl.com ');
I'd like "YourUrl.com" to be a link.
Seems what ever html I add isn't quite right.
Thanks!
Last edited by marcman on Wed Nov 23, 2011 1:55 am, edited 1 time in total.
Re: Adding a link to a line of php
Hi there and welcome! People are starting their holidays. I wish I could help but this stuff is beyond me.
Everything that irritates us about others can lead us to an understanding of ourselves. -- Carl Jung
eVGA X58 tri-SLI, i7 930 @ 3.8GHz., Corsair 6GB Dominator, Inno3D GTX470, eVGA260
ASUS P8P67 Pro, i7 2600K @4.60 GHz, 8GB RAM, eVGA GTX 460
eVGA X58 tri-SLI, i7 930 @ 3.8GHz., Corsair 6GB Dominator, Inno3D GTX470, eVGA260
ASUS P8P67 Pro, i7 2600K @4.60 GHz, 8GB RAM, eVGA GTX 460
- augie
- Community Director
- Posts: 7870
- Joined: Mon Aug 26, 2002 1:55 am
- Location: Laurentians, Quebec
Re: Adding a link to a line of php
I am not a coder or a programer either, sorry
Game Over!!!!!!!!
ASUS Maximus V Gene MB
Windows 8 X64; Windows 7 X64; Windows 7 X86
Intel I5-3570K
16GB Corsair Vengeance Ram
eVGA GeForce GTX 550 TI
Corsair GS700 PS
1TB Seagate SATA 6.0Gb HD
Thermaltake Case
ASUS Maximus V Gene MB
Windows 8 X64; Windows 7 X64; Windows 7 X86
Intel I5-3570K
16GB Corsair Vengeance Ram
eVGA GeForce GTX 550 TI
Corsair GS700 PS
1TB Seagate SATA 6.0Gb HD
Thermaltake Case
- yeshuas
- Software Development
- Posts: 5075
- Joined: Wed Jan 17, 2007 3:29 pm
- Location: Chicago, IL
- Real Name: Daniel Schmidt
Re: Adding a link to a line of php
marcman wrote:Here's the code...
$creds_text = ( 'Copyright 2011 © Your Business / Custom CMS and Site Build by YourUrl.com ');
I'd like "YourUrl.com" to be a link.
Seems what ever html I add isn't quite right.
Thanks!
I know you probably already found an answer by now, but this thread needs an answer.
Assuming you're text line is getting sent to the browser,
$creds_text = ( 'Copyright 2011 © Your Business / Custom CMS and Site Build by <a href="http://www.yoururl.com">YourUrl.com</a> ');
That should be what you're looking for.
5 posts
• Page 1 of 1
Return to HTML, CSS, and Scripts
Who is online
Users browsing this forum: No registered users and 1 guest