Quote:
Originally Posted by Vernier
Could you give me an example please, not too good with mysql! :P
|
The IF has nothing to do with mysql. It's php code. You can use the IF to check the current value of active and if it = 1 then create the link like you already do. You are already using column values from a row in your code so getting the value of active will be the same. The php online manual shows
how an IF block works.