|
A
|
ann 7/19/2010 |
|
Hi, $sql="select level from TableName where Id=".$_SESSION["UserID"];
|
|
|
K
|
kkiboo author 7/19/2010 |
|
Thanks for the reply! The code is exactly what I want, however, when I implement it, I get the error ORA-00904: invalid identifier. Its saying that I have misidenitified the column, but I checked the code over and over again, I haven't. $sql="select userlevel from LOGIN where USERNAME=".$_SESSION["UserID"];
|
|
|
A
|
ann 7/20/2010 |
|
Hi, $sql="select userlevel from LOGIN where USERNAME='".$_SESSION["UserID"]."'";
|
|
|
K
|
kkiboo author 7/20/2010 |
|
That worked beautifully, thank you so much for your help! I spent 4 hours yesterday trying to figure out what was wrong, I put all sorts of quotes around the session ID, thinking that would help. Who knew it was a . that I needed! Thanks again, you're an angel. |
|