You are here: Re: Help with a script « PHP Programming Language « IT news, forums, messages
Re: Help with a script

Posted by Rik on 08/06/07 08:38

On Mon, 06 Aug 2007 10:34:17 +0200, *69 <amy@amy.com> wrote:

> I downloaded the 2 below PHP scripts. There are two individual script=
s,
> listed below:
>
> When you run suggest.php, and type in a keyword, it goes to google and=

> brings back a list of suggested words. These words should be =

> hyperlinked so
> that you can click them and it would bring back another list of words.=

> Problem is the "Get Suggestion" is not hyperlinked.
>
> I'm assuming the code for that is in here somewhere.
>
> <table align=3D"center">
> <?php
> foreach ($suggest_items as $key =3D> $value) {
> echo "<tr><td class=3D'details'><a

href=3D' ?

> http://www.google.com/search?hl=3Den&btnG=3DGoogle+Search&q=3D$key'
> target=3D'_blank'>$key</a></td><td class=3D'details'>" . trim($value) =
..
> "</td><td class=3D'details'><a

href=3D' ?

> http://www.mydomain.com/suggest.php?keyword=3D$key' target=3D'_self'>G=
et
> Suggestion</a</td></tr>";
> }
> echo "</table>";
> }
>
>
> Would someone be able to advise what is wrong?

Well, validate the HTML.
-- =

Rik Wasmus

 

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

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