[Wolves] mysql select help - a little one ;-)

Wayne Morris waynelists at machx.co.uk
Wed Apr 4 14:18:47 UTC 2012


On 04/04/2012 15:10, Iain Cuthbertson wrote:

> Hi Wayne,
>
> Multiple key/value pairs are separated by the&  in query strings.
> Though, to correctly validate, one should write it as&
>
> Your line might then look like this:
> <td><a href="updatetest.php?id=<?php echo $row['id']; ?>&amp;dob=<?php
> echo $row['dob']; ?>" target="_blank">Update</a></td>
>
> Or, if you wanted it all in PHP:
> echo '<td><a href="updatetest.php?id=' . $row['id'] . '&amp;dob=' .
> $row['dob'] . '" target="_blank">Update</a></td>';
>
> Hope this helps,
> Iain

Thanks both, got
  print(" <TD><a href=\"updatetest.php?id=".  $row["id"]."&dob=". 
$row["dob"].  "\" target=\"_blank\">Update</a>    ");
with DragonMasters help

but will have a play with the above too ;-)

Cheers









More information about the Wolves mailing list