variables in href - really simple question

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

DoppyNL

Re: variables in href - really simple question

Postby DoppyNL » Thu Oct 03, 2002 7:50 am

Code: Select all

<a href="despatch.php?task=newHardware&number=1">

Use the & sign.

Greetz Daan

Serg4444
New php-forum User
New php-forum User
Posts: 8
Joined: Fri Sep 27, 2002 4:01 am

Postby Serg4444 » Fri Oct 25, 2002 5:02 am

Even more, you can use a lot of variables like this:

<a href="despatch.php?task=$hardware&number=$number&category=$category">

Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 4 guests

cron