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

Your name:

Reply:


Posted by smorrey on 11/30/27 11:28

Sorry should have made mention of the fact that at least in this
instance it is all happening on the same page.
Here is the flow.
User submits info via form,
db connection is established
query is processed to check if the information exists.
This function then fetches the information that is already proven to
exist.

To work around this problem, and this is hackish as hell I know, but I
restated my problem, to this...
//Locates UID
function FindID($uid){
$query = "SELECT * FROM public.authinfo WHERE uid = '$uid'";
if ($_SESSION['db']->query($query)) {
return(TRUE);
}else{
return(FALSE);
}

}

This seems to work, but still anytime I try to fetch data I get the
original error, about an undefined method.
This is why my teeth are gnashing, and I'm pulling out my hair ;)

[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

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