You are here: Re: Returning a URL from a user search « PHP Programming Language « IT news, forums, messages
Re: Returning a URL from a user search

Posted by Pedro Graca on 10/09/06 14:17

anthony wrote:
> The companyname and address1 are displaying, but I need the correct
> code to put that webpage (the mysql fieldname is 'webpage') in the
> correct href tag in php.
>
> Code to date:
> //$row = $result->fetch_assoc();
[...]
> // display a link to the company's site

echo '<a href="', $row['webpage'], '">', $row['webpage'], '</a>';

or maybe?

echo '<a href="', $row['webpage'], '">[visit this site]</a>';

> echo '<br>';
[...]

--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация