|
Posted by *69 on 08/06/07 08:57
Thank you
"Rik" <luiheidsgoeroe@hotmail.com> wrote in message
news:op.twmp9vvzqnv3q9@metallium...
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 scripts,
> 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="center">
> <?php
> foreach ($suggest_items as $key => $value) {
> echo "<tr><td class='details'><a
href=' ?
> http://www.google.com/search?hl=en&btnG=Google+Search&q=$key'
> target='_blank'>$key</a></td><td class='details'>" . trim($value) .
> "</td><td class='details'><a
href=' ?
> http://www.mydomain.com/suggest.php?keyword=$key' target='_self'>Get
> 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]
|