[thelist] ajax dynamic dropdown menu set

Jack Timmons codeacula at codeacula.com
Wed Aug 4 06:51:32 CDT 2010


On Wed, Aug 4, 2010 at 3:28 AM, Simon MacDonald <simonmacdonald at uk2.net> wrote:
> In findCounty.php
> You have:
> <option value><?=$row['county']?> - ID: <?=$row['id']?>
> Should have:
> <option value<?=$row['id']?>><?=$row['county']?> - ID: <?=$row['id']?>
>
> Hope that works
>
> Simon

JIC, don't forget the ="":

<option value="<?=$row['id']?>">

Although I assume Simon left them out knowing you'd have picked it up,
can't say the same about future visitors looking through the email.

Also, is this script going to be only running on this server, and is
the PHP.ini likely to stay the same? You're using shorttags, which
might be disabled elsewhere or deprecated in future releases.

-- 
Jack Timmons
@_Codeacula


More information about the thelist mailing list