Martin Gang
|
| Posted: 10/21/2002, 2:44 PM |
|
I am using CCS with a Windows 2000 Server, MySQL, IIS and PHP. I need to set a conditional link from one page to one of two other pages based on a value in the database. I can do this in ASP and am very new to PHP so I am uncertain of the syntax.
TIA.
|
|
|
 |
Khac Cong
|
| Posted: 10/21/2002, 8:43 PM |
|
Hi Martin Gang,
you can use the below code:
<?
$link = <get filename base on value in the database>;
?>
<a href="http://yourhost/path/<? echo $link ?>"> click here </a>
Cong
|
|
|
 |
|