Ivo
|
Posted: 05/12/2004, 2:17 AM |
|
Hello,
I want an SQL script Where an database field equals my session. Like this:
$sql = "SELECT quiz_score.user_id, quiz_score.quiz_id
FROM quiz_score
WHERE quiz_score.user_id = ?";
The session is working but I don't know what I have to write down on the ?
Tnx!
|
|
|
peterr
Posts: 5971
|
Posted: 05/12/2004, 2:22 AM |
|
http://docs.codecharge.com/studio/html/ProgrammingTechn...HEREClause.html
However, you should not need to use any code for this. You can specify your session parameter directly in the Data Source:
(change the Type to "Session")
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
|