[Wolves] mysql select help - a little one ;-)
DragonMaster
lug at clews.homelinux.net
Wed Apr 4 13:50:16 UTC 2012
On 04/04/2012 14:45, Wayne Morris wrote:
> Last query working well.
>
> Can I have some help with basic syntax of passing two variable:
>
> I currently have:
>
> print("<TD><a href=\"update.php?id=".$row["id"]."\"
> target=\"_blank\">Update</a>");
> which produces:
> updatetest.php?id=2
>
> i want to also pass over a date of birth 'dob'
> to get something like
> updatetest.php?id=2,dob=2343
>
> but no matter how I fiddle with things like:
> print("<TD><a
> href=\"updatetest.php?id=".$row["id"].?dob=$row["dob"]."\"
> target=\"_blank\">Update</a>");
>
> I get nowhere.
>
> Anyone?
>
> cheers
>
>
>
>
> _______________________________________________
> Wolves LUG mailing list
> Homepage: http://www.wolveslug.org.uk/
> Mailing list: Wolves at mailman.lug.org.uk
> Mailing list home: https://mailman.lug.org.uk/mailman/listinfo/wolves
Hi Wayne, you need to replace the '?' before the dob with '&' (without
the quotes... ) that <should> work...
DM
More information about the Wolves
mailing list