Posted by Erwin Moller on 10/25/70 11:28
smorrey@gmail.com wrote:
> Nevermind I just figured out what's wrong with my line of thinking.
> I was assuming fetch and query were both members in the PDO object,
> they aren't.
> It appears I need to create a PDOStatement object to handle this.
> Ok back to the drawing board.
Hi
Glad you figured it out.
I want to make 1 observation:
You are storing your db-connection into the session.
AND you say you use it onle on the smae page.
It doesn't make sense to me: Why store that in a session?
Why not just use it as a variable on the whole page?
Good luck,
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|