[Wolves] Hyoerlinks on a php page

David Goodwin david at codepoets.co.uk
Wed Dec 5 19:54:40 UTC 2012


You want eg.

<a href="tel:01215555556">phone them</a>

If you want to make a phone number a hyperlink. Obviously in your case replace the phone number with eg {$row['telno']} or whatever. 

If you're just linking to a website then just use the full address starting with http:// like 

<a href="http://g.com/meh">click here</a> (so tel: is only needed for phone numbers. 

mail: is used for email addresses in the same way. 


David. 

David Goodwin 
Pale Purple Ltd. 
http://www.palepurple.co.uk
0845 0046746
07792 380669

On 5 Dec 2012, at 19:14, Andy Smith <andy at strugglers.net> wrote:

> Hi Wayne,
> 
> On Wed, Dec 05, 2012 at 05:20:17PM +0000, Wayne Morris wrote:
>> echo  "Click to ring (need browser plugin) :  ";
>> echo  $row["tenantno"];
>> 
>> works fine on Firefox, does not give the link on Chrome or IE.
>> Is there something else i need to do to get the code right to be
>> accepted , guess its a 'standards' thing?
> 
> Can you show us the source of the HTML after it has been sent to
> your browser? ("view source")
> 
> Cheers,
> Andy
> 
> -- 
> http://bitfolk.com/ -- No-nonsense VPS hosting
> 
> _______________________________________________
> Wolves LUG mailing list
> Homepage: http://www.wolveslug.org.uk/
> Mailing list: Wolves at mailman.lug.org.uk
> Mailing list home: https://mailman.lug.org.uk/mailman/listinfo/wolves



More information about the Wolves mailing list