DSN in two tables
Hello, sorry for my english...
I've a question about DSN about two tables.
I've TABLE1, TABLE2 and PAGE1, PAGE2
TABLE1 has FIELD1, FIELD2, FIELD3(primary key)
TABLE2 has FIELD4(primary key), FIELD3(the primary of TABLE1)
In PAGE1 i use DSN:
{SQL(db=>twd)}SELECT `FIELD1`, `FIELD2`, CONCAT('&lg a',' href="/tiki-index.php?page=PAGE2&Id=',`FIELD3`,'"&rg', `FIELD3`,'&lg/a&rg'),'') FROM `TABLE1`{SQL}
When i click on a link generated from SQL in PAGE1 i'll go in PAGE 2 WHERE i've
{SQL(db=>twd)}SELECT `FIELD4`, `FIELD3` FROM `TABLE2` WHERE `FIELD3`=???? {SQL}
Well: the problem is ???? because i'd like to put in place of them what the user pressed...
I hope i could explain my problem...
Can you help me?
PS: &lg is < and &rg is > (i didn't know how to show it in tiki 😊