Reply to Re: PDO Gnashing of teeth and pulling of hair.

Your name:

Reply:


Posted by Erwin Moller on 10/07/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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация